]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: disallow interfering with stations on non-AP (part 2)
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 27 May 2009 08:35:29 +0000 (10:35 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:05:10 +0000 (14:05 -0400)
commitbdebaf66439b6ddc4fd2e5107043a6da742c8263
tree69d3231f9eb072f75129b9ae90d2d1b9ab63062f
parent6ccc7dfe3e278b971c3a7c40f7296e23c4c0d665
cfg80211: disallow interfering with stations on non-AP (part 2)

On non-AP interfaces userspace has no business interfering with
the station management, this can confuse mac80211 (and other
drivers probably wouldn't support it anyway). Allow adding and
removing stations only on AP interfaces.

(Reconcile this w/ previous version of patch posted with same
subject... -- JWL)

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