diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-06-02 06:23:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-04 16:00:39 -0400 |
commit | ea46e644e80bd4ac778964afd998df4f666486d4 (patch) | |
tree | befc63362be057a89ce2db1db08828e3958dff74 /drivers/net/wireless/ath/ath9k/htc_drv_main.c | |
parent | 29d9075e1c577cb9affd7859c87e41f12ae270f2 (diff) |
ath9k_htc: Setup 5GHz channels
AR7010 is dual-band. Setup the channels and rateset
for 5GHz band.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c index b7ce902f2453..7aefbc638770 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c | |||
@@ -343,8 +343,7 @@ static void ath9k_htc_setup_rate(struct ath9k_htc_priv *priv, | |||
343 | u32 caps = 0; | 343 | u32 caps = 0; |
344 | int i, j; | 344 | int i, j; |
345 | 345 | ||
346 | /* Only 2GHz is supported */ | 346 | sband = priv->hw->wiphy->bands[priv->hw->conf.channel->band]; |
347 | sband = priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ]; | ||
348 | 347 | ||
349 | for (i = 0, j = 0; i < sband->n_bitrates; i++) { | 348 | for (i = 0, j = 0; i < sband->n_bitrates; i++) { |
350 | if (sta->supp_rates[sband->band] & BIT(i)) { | 349 | if (sta->supp_rates[sband->band] & BIT(i)) { |