aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2010-01-12 07:49:18 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-12 14:21:17 -0500
commit42574ea2274ec0a2a9c58ab01be91b65e60a2291 (patch)
tree19c94dd77288fc1cdae67e322b49b116e8029670 /drivers/net/wireless
parent8707d0262585423cdc053bf8db0912e53915e5e4 (diff)
mwl8k: allow selecting 5 GHz channels
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-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,
2222 2222
2223 if (channel->band == IEEE80211_BAND_2GHZ) 2223 if (channel->band == IEEE80211_BAND_2GHZ)
2224 cmd->channel_flags |= cpu_to_le32(0x00000001); 2224 cmd->channel_flags |= cpu_to_le32(0x00000001);
2225 else if (channel->band == IEEE80211_BAND_5GHZ)
2226 cmd->channel_flags |= cpu_to_le32(0x00000004);
2225 2227
2226 if (conf->channel_type == NL80211_CHAN_NO_HT || 2228 if (conf->channel_type == NL80211_CHAN_NO_HT ||
2227 conf->channel_type == NL80211_CHAN_HT20) 2229 conf->channel_type == NL80211_CHAN_HT20)