From: Amitkumar Karwar Date: Thu, 2 Feb 2012 04:41:45 +0000 (-0800) Subject: mwifiex: enable HT operating mode X-Git-Tag: firefly_0821_release~3680^2~3338^2~112^2~320 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3dc5e1751803e812806d7aa46150af92f91ef489;p=firefly-linux-kernel-4.4.55.git mwifiex: enable HT operating mode This patch sets default adapter channel_type as HT. Hence the device will opearate in HT mode. Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c index e13b6d99171a..83cc10fca4bd 100644 --- a/drivers/net/wireless/mwifiex/init.c +++ b/drivers/net/wireless/mwifiex/init.c @@ -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; } /*