mwifiex: copy AP's HT capability info correctly
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 5 Mar 2014 02:43:13 +0000 (18:43 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Mar 2014 18:50:12 +0000 (13:50 -0500)
commitc99b1861c232e1f641f13b8645e0febb3712cc71
treee436844ba64550de6ababd47fdbb4dc4868fd304
parent73c8daa083973a4e16e39c3a52abb64bd3592de8
mwifiex: copy AP's HT capability info correctly

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.

Cc: <stable@vger.kernel.org>
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/11n.c