cfg80211: fix TDLS setup with VHT peers
authorArik Nemtsov <arik@wizery.com>
Thu, 17 Jul 2014 14:14:29 +0000 (17:14 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 21 Jul 2014 10:14:04 +0000 (12:14 +0200)
commitc72e1140463a643579c3f9e09f990e71e95671ac
tree7368e94c0489bd97325c076437f212b8c51811b3
parentbed766bd4cea6413df73e8a314ebf40dd6a920f8
cfg80211: fix TDLS setup with VHT peers

Some VHT TDLS peers (Google Nexus 5) include the VHT-AID IE in their
TDLS setup request/response. Usermode passes this aid as the station
aid, causing it to fail verifiction, since this happens in the
"set_station" stage. Make an exception for the TDLS use-case.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c