]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: Don't ignore the cap field upon mcc update
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Wed, 27 Nov 2019 19:55:58 +0000 (14:55 -0500)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 23 Dec 2019 09:33:04 +0000 (11:33 +0200)
commit0f0c56778e1c60f8caec5cfe611f51b451b5da2d
treee014ed3e3c2e112c1e2a0b6564c73db15df16b7f
parent2ae0fc8ad320f96042f276eba0ada11af751265c
iwlwifi: Don't ignore the cap field upon mcc update

When receiving a new MCC driver get all the data about the new country
code and its regulatory information.
Mistakenly, we ignored the cap field, which includes global regulatory
information which should be applies to every channel.
Fix it.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.h
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c