]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: validate station settings
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 18 Jun 2009 15:23:43 +0000 (17:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Jun 2009 15:50:24 +0000 (11:50 -0400)
commit1f6aa993d6f5adb2c3e282fb99ed349e213b6fb7
tree695ad0cfc1f5ca8a53b595e6c4f16b72170fa670
parent4d80e7d8ef225f5dab198d589d1dcb0ede5c9505
cfg80211: validate station settings

When I disallowed interfering with stations on non-AP interfaces,
I not only forget mesh but also managed interfaces which need
this for the authorized flag. Let's actually validate everything
properly.

This fixes an nl80211 regression introduced by the interfering,
under which wpa_supplicant -Dnl80211 could not properly connect.

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