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)
commit349b196044d38a3bf5be2b4dd2fe28ca2f12a258
treea9477627bb14b8762df2e9e83cc4879ecd4ae2a5
parent3c2723f503e8decc420b377a3215089a7980cf08
mac80211: allow to set smps mode to OFF in AP mode

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