]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: validate nl80211 station handling better
authorJohannes Berg <johannes.berg@intel.com>
Wed, 14 Dec 2011 11:20:27 +0000 (12:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Dec 2011 19:45:45 +0000 (14:45 -0500)
commitf5d8be169ba15a9a9a993858c2db4b622d361ad9
tree79243e73e6c64217bc676507504b72a2d59fc096
parent503e1322fb3297d465ac4f247eab9f21f3d8d4ba
cfg80211: validate nl80211 station handling better

The nl80211 station handling code is a bit messy
and doesn't do a lot of validation. It seems like
this could be an issue for drivers that don't use
mac80211 to validate everything.

As cfg80211 doesn't keep station state, move the
validation of allowing supported_rates to change
for TDLS only in station mode to mac80211.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c