mwifiex: parsing aid while receiving association response
authorXinming Hu <huxm@marvell.com>
Mon, 4 May 2015 16:40:08 +0000 (22:10 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:48:15 +0000 (16:48 +0300)
commit4aff53ef18e4a444dea060ab5d25128f87093d54
tree2379238bc4bae8b8c24b947f8dc335675e8384ef
parent4e0ff946ee0b010a917dad6ae2fcbdc7e6f9ac16
mwifiex: parsing aid while receiving association response

cfg80211 would complain about invalid AID in during TDLS setup.
This was happening because we use same AID value as provide by AP
while forming setup messages.
Parse AID from Association response and filter BIT14 and BIT15
of AID to get valid AID.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/join.c