]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix station change if TDLS isn't supported
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Feb 2013 13:57:42 +0000 (14:57 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Feb 2013 17:26:24 +0000 (18:26 +0100)
commit8a314f673622caabf5297153b2028ba483069ee4
tree82552957ddaff328b600ab162bfa919b21a342e3
parent432703c0522d4cc32525fbace3d50a6456a5e8a9
cfg80211: fix station change if TDLS isn't supported

Larry noticed (and bisected) that commit 661dfb4e61de98bdb2aa73452bd80
"cfg80211: Pass TDLS peer's QoS/HT/VHT information during set_station"
broke secure connections. This is is the case only for drivers that
don't support TDLS, where any kind of change, even just the change of
authorized flag that is required for normal operation, was rejected
now. To fix this, remove the checks. I have some patches that will add
proper verification for all the different cases later.

Cc: Jouni Malinen <j@w1.fi>
Bisected-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c