]> 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)
commitbad3b7d72476a1d8c0efac97d45baa64813cdb48
tree82552957ddaff328b600ab162bfa919b21a342e3
parent898c76e83f2d8003d859da4b0b520d04836c2a9e
cfg80211: fix station change if TDLS isn't supported

Larry noticed (and bisected) that commit fe095c54ea1668dd0a0388f59b908
"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