aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/reset.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/reset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath5k/reset.c b/drivers/net/wireless/ath/ath5k/reset.c
index 4b1c87fa15ac..56d7925a0c2c 100644
--- a/drivers/net/wireless/ath/ath5k/reset.c
+++ b/drivers/net/wireless/ath/ath5k/reset.c
@@ -752,7 +752,7 @@ ath5k_hw_nic_wakeup(struct ath5k_hw *ah, struct ieee80211_channel *channel)
752 clock = AR5K_PHY_PLL_RF5111; /*Zero*/ 752 clock = AR5K_PHY_PLL_RF5111; /*Zero*/
753 } 753 }
754 754
755 if (channel->band == IEEE80211_BAND_2GHZ) { 755 if (channel->band == NL80211_BAND_2GHZ) {
756 mode |= AR5K_PHY_MODE_FREQ_2GHZ; 756 mode |= AR5K_PHY_MODE_FREQ_2GHZ;
757 clock |= AR5K_PHY_PLL_44MHZ; 757 clock |= AR5K_PHY_PLL_44MHZ;
758 758
@@ -771,7 +771,7 @@ ath5k_hw_nic_wakeup(struct ath5k_hw *ah, struct ieee80211_channel *channel)
771 else 771 else
772 mode |= AR5K_PHY_MODE_MOD_DYN; 772 mode |= AR5K_PHY_MODE_MOD_DYN;
773 } 773 }
774 } else if (channel->band == IEEE80211_BAND_5GHZ) { 774 } else if (channel->band == NL80211_BAND_5GHZ) {
775 mode |= (AR5K_PHY_MODE_FREQ_5GHZ | 775 mode |= (AR5K_PHY_MODE_FREQ_5GHZ |
776 AR5K_PHY_MODE_MOD_OFDM); 776 AR5K_PHY_MODE_MOD_OFDM);
777 777
@@ -906,7 +906,7 @@ ath5k_hw_tweak_initval_settings(struct ath5k_hw *ah,
906 u32 data; 906 u32 data;
907 ath5k_hw_reg_write(ah, AR5K_PHY_CCKTXCTL_WORLD, 907 ath5k_hw_reg_write(ah, AR5K_PHY_CCKTXCTL_WORLD,
908 AR5K_PHY_CCKTXCTL); 908 AR5K_PHY_CCKTXCTL);
909 if (channel->band == IEEE80211_BAND_5GHZ) 909 if (channel->band == NL80211_BAND_5GHZ)
910 data = 0xffb81020; 910 data = 0xffb81020;
911 else 911 else
912 data = 0xffb80d20; 912 data = 0xffb80d20;