mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 13:05:03 +08:00
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 <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
477778bb0e
commit
3dc5e17518
@ -280,6 +280,7 @@ static void mwifiex_init_adapter(struct mwifiex_adapter *adapter)
|
|||||||
adapter->adhoc_awake_period = 0;
|
adapter->adhoc_awake_period = 0;
|
||||||
memset(&adapter->arp_filter, 0, sizeof(adapter->arp_filter));
|
memset(&adapter->arp_filter, 0, sizeof(adapter->arp_filter));
|
||||||
adapter->arp_filter_size = 0;
|
adapter->arp_filter_size = 0;
|
||||||
|
adapter->channel_type = NL80211_CHAN_HT20;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user