iwlwifi: mvm: Change power management dependency on multi MAC
authorAlexander Bondar <alexander.bondar@intel.com>
Tue, 27 Aug 2013 17:31:48 +0000 (20:31 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 17 Dec 2013 17:39:41 +0000 (19:39 +0200)
commit1c2abf724b3397830e60596a6a41e2d9f870d1a6
tree341fb56ca221fbf92dd3254c72b5166c468741e5
parent175a70b7f22894cda03e1608f075c548656024f8
iwlwifi: mvm: Change power management dependency on multi MAC

FW still does not support power management on multiple MAC interfaces.
Currently the driver enforce this limitation by disabling PM if second
interface is added. Change this behavior to allow PM on a single interface
even if other interfaces exist but not bound to any specific PHY.
PM will be enabled if only one single interface is bound.

Signed-off-by: Alexander Bondar <alexander.bondar@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/mvm.h
drivers/net/wireless/iwlwifi/mvm/power.c