summaryrefslogtreecommitdiffstats
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
parent477778bb0e7c671860528946b412294684337c5e (diff)
downloadblackbird-op-linux-3dc5e1751803e812806d7aa46150af92f91ef489.tar.gz
blackbird-op-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>
-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 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;
}
/*
OpenPOWER on IntegriCloud