mwifiex: copy AP's HT capability info correctly
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 5 Mar 2014 02:43:13 +0000 (18:43 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Mar 2014 04:37:04 +0000 (21:37 -0700)
commitc7fc368e0c6b01aef43d00fcfd59159f0acdf0cd
treecde42c449e128d6c912f56df6ff783f2efa72558
parent8509583a3094c4dfc1448e0b2fbadfb5b436378f
mwifiex: copy AP's HT capability info correctly

commit c99b1861c232e1f641f13b8645e0febb3712cc71 upstream.

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

This patch fixes an error while copying this field 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mwifiex/11n.c