From: Luciano Coelho Date: Fri, 8 Aug 2014 14:12:07 +0000 (+0300) Subject: iwlwifi: mvm: re-enable ps when monitor interfaces are removed X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~3^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1873300e15aff44c01f7c9bc275c2c6e414f2fa;p=pandora-kernel.git 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 Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed