]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
mwifiex: enable HT operating mode
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 2 Feb 2012 04:41:45 +0000 (20:41 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:55:51 +0000 (14:55 -0500)
This patch sets default adapter channel_type as HT. Hence the device
will opearate in HT 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/init.c

index e13b6d99171ab9e76a64b44abec39a4b85e90b7f..83cc10fca4bd9911d11d4eb2ea69b4b289cbefde 100644 (file)
@@ -280,6 +280,7 @@ static void mwifiex_init_adapter(struct mwifiex_adapter *adapter)
        adapter->adhoc_awake_period = 0;
        memset(&adapter->arp_filter, 0, sizeof(adapter->arp_filter));
        adapter->arp_filter_size = 0;
+       adapter->channel_type = NL80211_CHAN_HT20;
 }
 
 /*