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)
commit034d655ee7b79a2f48ba4c2b620d2864a6e0aa14
tree69d3231f9eb072f75129b9ae90d2d1b9ab63062f
parent7ba10a8efe501e26d995aa9b6dc13395518a87e4
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