]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: correctly handle PM/QoS changes from mac80211
authorJohannes Berg <johannes.berg@intel.com>
Tue, 26 Aug 2014 12:25:46 +0000 (14:25 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 8 Sep 2014 06:17:28 +0000 (09:17 +0300)
commit4bc072b6c47f0b12838bdbe9dbcac6b1fc79b8e0
tree00815ff5d5fc6251f7aabfcb63d9d065ecd36f53
parentd8f99f11c4f57680d58623d2aabc40ebbf87d871
iwlwifi: mvm: correctly handle PM/QoS changes from mac80211

When mac80211 requests multiple BSS config changes, as for example
while associating, we ignore power management and QoS changes and
only apply them later. Fix that by removing the "else" and making
the conditions independent.

Also move it after (potential) beacon filter enablement to have
that already enabled when going into power management code.

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