iwlwifi: mvm: init country code on init/recovery
authorArik Nemtsov <arik@wizery.com>
Tue, 4 Mar 2014 17:58:46 +0000 (19:58 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 12 Mar 2015 07:57:22 +0000 (09:57 +0200)
commit90d4f7db6c5d8af1f4eab7bc714ec0ee130f9f00
tree58eff677b3afdc343166bf0fb3a4d22226237a32
parentdcaf9f5ecb6f395152609bdc40660d9b593dca63
iwlwifi: mvm: init country code on init/recovery

During init queue a regulatory update to retrieve the default
regulatory settings from FW. If we're during recovery, only replay the
current country code to FW, if it exists.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/nvm.c