]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cfg80211: disallow setting channel on WDS interfaces
authorJohannes Berg <johannes.berg@intel.com>
Wed, 16 May 2012 21:50:19 +0000 (23:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jun 2012 19:32:17 +0000 (15:32 -0400)
commit685d12a1929f274bd91497e33b4255fe164ac8ec
tree885a63aeaffd8d602d242484b54341b186c8769b
parentaa430da41019c1694f6a8e3b8bef1d12ed52b0ad
cfg80211: disallow setting channel on WDS interfaces

If it worked (Felix says it doesn't right now), the
typical use-case for WDS interfaces would be to be
slaved to AP mode interfaces. Therefore, it isn't
necessary to set the channel on WDS interfaces. As
they don't support powersave or anything like that,
they also couldn't use a different channel anyway.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c
net/wireless/wext-compat.c