]> 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)
commit350b50fd466385189838004b076a636f46359d9e
tree58b75ec21982ea87dbac0db0b90d0ec83caf739e
parent555f93e0e8aae4c789abbde12d033cc52aeb2681
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