]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4c011f27e404637c1e48d1e19ddbf2388337d91
treea9477627bb14b8762df2e9e83cc4879ecd4ae2a5
parentfc804b0d997268071a3ac1da0b12d654aaa80d2f
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