iwlwifi: mvm: don't send the beacon filtering command from iterator
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 27 Jan 2014 06:09:23 +0000 (08:09 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:43:55 +0000 (22:43 +0200)
commit06280a2ba9050cd8bc15a03aa22b24698a3ea742
tree8891704fabbeda14e44dfa60bf6f3e034de1f72d
parentdcefeec05be5821a82f9ee66f6fcb9849d3f7568
iwlwifi: mvm: don't send the beacon filtering command from iterator

The firmware doesn't allow per-vif beacon filtering: we can
use beacon filtering for one vif only. So remember which
vif has beacon filtering enabled in the iterator, and send
the command outside the iterator.

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