mwifiex: save and copy AP's VHT capability info correctly
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 5 Mar 2014 02:43:14 +0000 (18:43 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Mar 2014 18:50:39 +0000 (13:50 -0500)
commitd51246481c7f28bbfa1f814ded2da65e531cd4b2
tree99f46dc845bddbc0f68796dcb40a190ca167d6eb
parentc99b1861c232e1f641f13b8645e0febb3712cc71
mwifiex: save and copy AP's VHT capability info correctly

While preparing association request, intersection of device's
VHT capability information and corresponding field advertised
by AP is used.

This patch fixes a couple errors while saving and copying vht_cap
and vht_oper fields from AP's beacon.

Cc: <stable@vger.kernel.org> # 3.9+
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/11ac.c
drivers/net/wireless/mwifiex/scan.c