mwifiex: correct aid value during tdls setup
authorXinming Hu <huxm@marvell.com>
Tue, 9 Aug 2016 14:50:44 +0000 (20:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2016 10:13:59 +0000 (04:13 -0600)
commitb31602293c200928cf8d90c13738a90392757ac4
tree744c09a27aede6a12b6d1072fca43d0c34725b61
parenta5a7f1e5ea0135c5794a80ebe228fbb8d011c01f
mwifiex: correct aid value during tdls setup

commit b64db1b252e9974a43a51ba083fa7d03e4716167 upstream.

AID gets updated during TDLS setup, but modified value isn't reflected
in "priv->assoc_rsp_buf". This causes TDLS setup failure. The problem is
fixed here.

Fixes: 4aff53ef18e4a4 ("mwifiex: parsing aid while receiving..")
Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mwifiex/join.c