summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/init.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2012-02-01 20:41:45 -0800
committerJohn W. Linville <linville@tuxdriver.com>2012-02-06 14:55:51 -0500
commit3dc5e1751803e812806d7aa46150af92f91ef489 (patch)
tree6d5aafb343ac17010a4c878f8ce75cfc599216ed /drivers/net/wireless/mwifiex/init.c
parent477778bb0e7c671860528946b412294684337c5e (diff)
downloadop-kernel-dev-3dc5e1751803e812806d7aa46150af92f91ef489.zip
op-kernel-dev-3dc5e1751803e812806d7aa46150af92f91ef489.tar.gz
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/mwifiex/init.c')
-rw-r--r--drivers/net/wireless/mwifiex/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c
index e13b6d9..83cc10f 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;
}
/*
OpenPOWER on IntegriCloud