iwlwifi: mvm: re-enable ps when monitor interfaces are removed
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 8 Aug 2014 14:12:07 +0000 (17:12 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 19:48:57 +0000 (22:48 +0300)
commitb1873300e15aff44c01f7c9bc275c2c6e414f2fa
tree908dcc33afa9a47a543b0cfb9a65c5d66d7b0fef
parent228670b2e6f8d32f11d27c5165fb42a2c77f062c
iwlwifi: mvm: re-enable ps when monitor interfaces are removed

If a monitor interface is added and then removed, we don't reset the
mvm->ps_disabled flag, so we never re-enable power saving.  Fix that
and rearrange the code a bit.

Additionally, fix a small indentation mistake in the
iwl_mvm_power_set_pm() function declaration.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/power.c
This page took 0.024322 seconds and 5 git commands to generate.