]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec87031233092538e3a4ab7b8864f23eb0a94ad6
tree90cbdb8cc087185980080efd36e4c4801431d41a
parentb48a0c6e187d48d875b769d2ac2d4e0639ba7541
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