diff options
author | Amitkumar Karwar | 2012-02-02 05:41:45 +0100 |
---|---|---|
committer | John W. Linville | 2012-02-06 20:55:51 +0100 |
commit | 3dc5e1751803e812806d7aa46150af92f91ef489 (patch) | |
tree | 6d5aafb343ac17010a4c878f8ce75cfc599216ed /drivers/net/wireless | |
parent | mwifiex: fix NULL pointer dereference in set_channel() (diff) | |
download | kernel-qcow2-linux-3dc5e1751803e812806d7aa46150af92f91ef489.tar.gz kernel-qcow2-linux-3dc5e1751803e812806d7aa46150af92f91ef489.tar.xz kernel-qcow2-linux-3dc5e1751803e812806d7aa46150af92f91ef489.zip |
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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/mwifiex/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } /* |