• Luca Coelho's avatar
    iwlwifi: fix cfg structs for 22000 with different RF modules · 052cedfa
    Luca Coelho authored
    [ Upstream commit b1bbc1a6 ]
    
    We have to choose different configuration and different firmwares
    depending on the external RF module that is installed.  Since the
    external module is not represented in the PCI IDs, we need to change
    the configuration at runtime, after checking the RF ID of the module
    installed.  We have a bit of a mess in the code that does this,
    because it applies cfg's according to the RF ID only, ignoring the
    integrated module that is in use.
    
    Fix that for some devices by adding correct configurations for them
    and not ignoring the integrated module's type when making the
    decision.
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
    052cedfa
drv.c 55.4 KB