]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: move the check if associated outside of the iterator for wowlan
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 22 Sep 2014 10:01:59 +0000 (13:01 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Oct 2014 10:49:12 +0000 (12:49 +0200)
commit12687a9718a4cf26f3519b3f3f9139fa638d80f2
tree58b75ec21982ea87dbac0db0b90d0ec83caf739e
parent4aee5f4b4c7c3e5be4f8b5c3bdecc55c78f4f7a6
iwlwifi: mvm: move the check if associated outside of the iterator for wowlan

Instead of checking if we are associated when suspending with wowlan
enabled in the interface iterator, allow it to return an unassociated
vif and move the check to the main suspend function.  This will be
needed by netdetect, since it should also work when we are not
associated but the vif is active.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/d3.c