]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite5ebf3ff02ce519571a14e530d403c5c598afbce
treec312e6f4c42bf9d8e87dcad3ebff1de2497297f7
parent47b3a75f468acd08f9c3066e665f50a101eb2f49
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