mac80211: set smps_mode according to ap params
authorEliad Peller <eliad@wizery.com>
Wed, 10 Sep 2014 11:07:35 +0000 (14:07 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Sep 2014 11:37:02 +0000 (13:37 +0200)
commitf69931748730763f8c8095fa88394cf9af75a578
treed80d390be868ba2fcfa153fb1d2d37feaec5dc58
parent18998c381b19bfc3c285361ff6200ded7444aa2c
mac80211: set smps_mode according to ap params

Take the requested smps mode from the ap params
(instead of always starting with SMPS_OFF)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c