cfg80211: validate station settings
commita97f4424fb4cddecf9b13c9b0e3f79924b624a7f
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 18 Jun 2009 15:23:43 +0000 (18 17:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Jun 2009 15:50:24 +0000 (19 11:50 -0400)
tree695ad0cfc1f5ca8a53b595e6c4f16b72170fa670
parent9a5e8bbc8fece7851a2a69a8676a6fd0507bc550
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