]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: reset ucode_loaded flag when mac80211 stop is called
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 20 Aug 2014 08:49:11 +0000 (11:49 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Sep 2014 09:56:38 +0000 (12:56 +0300)
commit4f2b6a2923dcb5e763ac3a958614f741edcb1026
tree2808f47a0477b6891ff8dd4be469f48524d861af
parent3b76de710c588930511f539ca0f40600c5250e3d
iwlwifi: mvm: reset ucode_loaded flag when mac80211 stop is called

We rely on the value of the mvm->ucode_loaded flag to decide whether
or not we can perform certain operations (e.g. access to some debugfs
entries), so we need to reset it when the mac80211 stop operation is
called and the hardware is shutdown.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c