iwlwifi: fix initialisation while RF-kill is asserted
authorEran Harary <eran.harary@intel.com>
Mon, 13 May 2013 04:53:26 +0000 (07:53 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 16 May 2013 21:17:29 +0000 (23:17 +0200)
commit4f59334bb4a626b91ea31f2bb3515e6a586ea1ae
tree90cbdb8cc087185980080efd36e4c4801431d41a
parent1214755c2bfc74b56093ccae797cb295e89d3400
iwlwifi: fix initialisation while RF-kill is asserted

If RF-kill is asserted while a device is initialized, the
firmware INIT image can now be run to retrieve the NVM
data and register to mac80211 properly. Previously, the
initialisation would fail in this scenario and the driver
wouldn't register with mac80211 at all, making the device
unusable.

Signed-off-by: Eran Harary <eran.harary@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/mvm/fw.c
drivers/net/wireless/iwlwifi/mvm/nvm.c
drivers/net/wireless/iwlwifi/mvm/ops.c
drivers/net/wireless/iwlwifi/pcie/tx.c