mac80211: allow to set smps mode to OFF in AP mode
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 7 Jan 2014 11:11:41 +0000 (13:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 Jan 2014 15:25:49 +0000 (16:25 +0100)
In managed mode, we should not ask for OFF mode because the
power settings may still require DYNAMIC. In AP mode, this
should be allowed since the default settings is OFF and
AUTOMATIC is not allowed.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ht.c

Simple merge