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)
committerJiri Slaby <jslaby@suse.cz>
Sat, 22 Mar 2014 21:01:52 +0000 (22:01 +0100)
commit0915313534cfc3256d744f2149c8363ba49bd754
tree128cb5f178445bb61adad7eb762dca8d9117fc1b
parent6029ed2c3314d196d8ee3628472bcdf4c5d383b3
mwifiex: save and copy AP's VHT capability info correctly

commit d51246481c7f28bbfa1f814ded2da65e531cd4b2 upstream.

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.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/mwifiex/11ac.c
drivers/net/wireless/mwifiex/scan.c