mwifiex: use correct htcapinfo for HT20 ibss network
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 3 Jan 2013 00:56:00 +0000 (16:56 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:16:59 +0000 (15:16 -0500)
commitd35f1035b53e92167a8231e15121dd10f4aa8edd
treef786fc530a2e067267dddd8a49f070e67da21c77
parentfc40ca92344a4e4a45bf916cf067e92085b881ea
mwifiex: use correct htcapinfo for HT20 ibss network

It is observed that same htcapinfo ie is included in beacon for
HT20, HT40+ and HT40- ibss networks. This patch makes sure that
we will not advertise 40Mhz flags while creating/joining ibss
network in HT20 mode.

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
drivers/net/wireless/mwifiex/join.c