]> 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)
commitbcba0422ba531148a4cb4a392c69667896d7d193
tree00815ff5d5fc6251f7aabfcb63d9d065ecd36f53
parent6cce882719c71056a248f1823cd6574fa2b2eacf
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