summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2010-01-12 13:49:18 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-01-12 14:21:17 -0500
commit42574ea2274ec0a2a9c58ab01be91b65e60a2291 (patch)
tree19c94dd77288fc1cdae67e322b49b116e8029670
parent8707d0262585423cdc053bf8db0912e53915e5e4 (diff)
downloadlinux-42574ea2274ec0a2a9c58ab01be91b65e60a2291.tar.gz
linux-42574ea2274ec0a2a9c58ab01be91b65e60a2291.tar.bz2
linux-42574ea2274ec0a2a9c58ab01be91b65e60a2291.zip
mwl8k: allow selecting 5 GHz channels
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/mwl8k.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index e370245b3901..6e8c126aa5e0 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -2222,6 +2222,8 @@ static int mwl8k_cmd_set_rf_channel(struct ieee80211_hw *hw,
if (channel->band == IEEE80211_BAND_2GHZ)
cmd->channel_flags |= cpu_to_le32(0x00000001);
+ else if (channel->band == IEEE80211_BAND_5GHZ)
+ cmd->channel_flags |= cpu_to_le32(0x00000004);
if (conf->channel_type == NL80211_CHAN_NO_HT ||
conf->channel_type == NL80211_CHAN_HT20)