aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 77ace8d72d54..4bf1e244b49b 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -705,9 +705,9 @@ static void ath9k_init_txpower_limits(struct ath_softc *sc)
705 struct ath9k_channel *curchan = ah->curchan; 705 struct ath9k_channel *curchan = ah->curchan;
706 706
707 if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) 707 if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
708 ath9k_init_band_txpower(sc, IEEE80211_BAND_2GHZ); 708 ath9k_init_band_txpower(sc, NL80211_BAND_2GHZ);
709 if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) 709 if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ)
710 ath9k_init_band_txpower(sc, IEEE80211_BAND_5GHZ); 710 ath9k_init_band_txpower(sc, NL80211_BAND_5GHZ);
711 711
712 ah->curchan = curchan; 712 ah->curchan = curchan;
713} 713}
@@ -879,11 +879,11 @@ static void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
879 sc->ant_tx = hw->wiphy->available_antennas_tx; 879 sc->ant_tx = hw->wiphy->available_antennas_tx;
880 880
881 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) 881 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
882 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = 882 hw->wiphy->bands[NL80211_BAND_2GHZ] =
883 &common->sbands[IEEE80211_BAND_2GHZ]; 883 &common->sbands[NL80211_BAND_2GHZ];
884 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) 884 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ)
885 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = 885 hw->wiphy->bands[NL80211_BAND_5GHZ] =
886 &common->sbands[IEEE80211_BAND_5GHZ]; 886 &common->sbands[NL80211_BAND_5GHZ];
887 887
888#ifdef CONFIG_ATH9K_CHANNEL_CONTEXT 888#ifdef CONFIG_ATH9K_CHANNEL_CONTEXT
889 ath9k_set_mcc_capab(sc, hw); 889 ath9k_set_mcc_capab(sc, hw);