iwlwifi: mvm: Ignore wifi mcc update in the driver while associated
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Thu, 2 Feb 2017 12:49:50 +0000 (14:49 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 25 Apr 2017 19:38:07 +0000 (22:38 +0300)
commitd4a7e708978af611a9c3a972bd4b7f877022f98b
treec5ae82c75af9b31c63d9f6966ad23f44f825dd0d
parent396952ee9f1bf77720cef4a15f1e3be3425430e9
iwlwifi: mvm: Ignore wifi mcc update in the driver while associated

Wifi mcc (mobile country code) update is forbidden while associated.
Currently, FW prevents these updates and the driver is unaware to
this logic. From now on, the FW sends every wifi mcc update to the
driver. The driver in his turn needs to decide whether to
ignore it or not, depends on the association state.

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