]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: clean up CQM settings code
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Aug 2013 12:10:48 +0000 (14:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Aug 2013 12:08:00 +0000 (14:08 +0200)
commitfc37aedf1b41b8a8df3e8a255251a19626fc54ec
tree74bd01cb4b55adf4e9d37a22247f058187ca0e63
parent2ac254ff4de1c4e3eaf20e870455bda0dd8ad57b
nl80211: clean up CQM settings code

Clean up the CQM settings code a bit and while at it
enforce that when setting the threshold to 0 (disable)
the hysteresis is also set to 0 to avoid confusion.
As we haven't enforce it, simply override userspace.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c