mwifiex: copy AP's HT capability info correctly
commit8197077f9fc59c76180360af754741776cc803b1
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 5 Mar 2014 02:43:13 +0000 (4 18:43 -0800)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 1 Apr 2014 23:58:58 +0000 (2 00:58 +0100)
tree787d1d153b5669f72203388df966e590360c9cad
parent9b3f2fbcbd031238ed9e2e3d6019397bbc164ad4
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: Ben Hutchings <ben@decadent.org.uk>
drivers/net/wireless/mwifiex/11n.c