iwlwifi: mvm: fix PSM disable during TDLS
authorArik Nemtsov <arik@wizery.com>
Wed, 3 Sep 2014 09:09:45 +0000 (12:09 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Sep 2014 19:02:24 +0000 (22:02 +0300)
commit9474d444bd0e6590ba99d640fa5e4d28380c1f04
treed655d9c567a4dae4dac510a52adf6f6ea16fd2c1
parent49c6d8021f11a4e86ab2689c62fbfca2ea8cbd0d
iwlwifi: mvm: fix PSM disable during TDLS

Simplify the code and check for TDLS stations just before sending the
MAC_POWER_TABLE command. The previous version of the code still allowed
PM in some multi-interface scenarios even with TDLS connected.

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