]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: initialize the cur_ucode upon boot
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 23 Oct 2014 11:42:33 +0000 (14:42 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Oct 2014 11:03:46 +0000 (13:03 +0200)
commit5e671c5c33d695064c9b29f3f0215f77eacfbdfa
tree7173c89dc78d8ca2cc2e70038a253027548580dc
parent03e25742f371641b43a6f675ddf66b03f80fd102
iwlwifi: mvm: initialize the cur_ucode upon boot

mvm->cur_ucode wasn't set before we actually load the
firmware. This caused issues when we boot in RFKILL since
we get an RFKILL interrupt upon boot even before we load
any firmware.
This leads to issues since iwl_mvm_set_hw_rfkill_state
(the RFKILL interrupts handler in mvm) relies on this
variable.

Fix this.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/ops.c