]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: look for the first supported channel when add/remove phy ctxt
authorTova Mussai <tova.mussai@intel.com>
Thu, 4 Jul 2019 11:34:54 +0000 (14:34 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:22 +0000 (15:31 +0300)
commit059f1b30b8fb67a1e721faa7cc6723951e36a17d
tree4993039c07a9636805edb0c152bab227c466c34e
parent32166cb5d0289977c352f12d248713d4c3a951ce
iwlwifi: mvm: look for the first supported channel when add/remove phy ctxt

Can't rely that band 2.4 is always supported by the NIC and use the
first channel in this band for the phy ctxt.
Instead, look for the first channel in the first band that is supported

Signed-off-by: Tova Mussai <tova.mussai@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c