cfg80211: disallow interfering with stations on non-AP
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 11 May 2009 12:43:13 +0000 (14:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 May 2009 19:24:07 +0000 (15:24 -0400)
commite80cf8537ae54ec96c389055d6e9b0ef630c042d
treec312e6f4c42bf9d8e87dcad3ebff1de2497297f7
parent528769cf1e422d932052be1487459262f3d75333
cfg80211: disallow interfering with stations on non-AP

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.

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