diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/phy.c')
-rw-r--r-- | drivers/net/wireless/ath9k/phy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath9k/phy.c b/drivers/net/wireless/ath9k/phy.c index da4165b8d6be..5a42969b35a6 100644 --- a/drivers/net/wireless/ath9k/phy.c +++ b/drivers/net/wireless/ath9k/phy.c | |||
@@ -205,7 +205,7 @@ ath9k_hw_set_rf_regs(struct ath_hw *ah, struct ath9k_channel *chan, | |||
205 | if (AR_SREV_9280_10_OR_LATER(ah)) | 205 | if (AR_SREV_9280_10_OR_LATER(ah)) |
206 | return true; | 206 | return true; |
207 | 207 | ||
208 | eepMinorRev = ath9k_hw_get_eeprom(ah, EEP_MINOR_REV); | 208 | eepMinorRev = ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV); |
209 | 209 | ||
210 | RF_BANK_SETUP(ah->ah_analogBank0Data, &ah->ah_iniBank0, 1); | 210 | RF_BANK_SETUP(ah->ah_analogBank0Data, &ah->ah_iniBank0, 1); |
211 | 211 | ||
@@ -225,15 +225,15 @@ ath9k_hw_set_rf_regs(struct ath_hw *ah, struct ath9k_channel *chan, | |||
225 | 225 | ||
226 | if (eepMinorRev >= 2) { | 226 | if (eepMinorRev >= 2) { |
227 | if (IS_CHAN_2GHZ(chan)) { | 227 | if (IS_CHAN_2GHZ(chan)) { |
228 | ob2GHz = ath9k_hw_get_eeprom(ah, EEP_OB_2); | 228 | ob2GHz = ah->eep_ops->get_eeprom(ah, EEP_OB_2); |
229 | db2GHz = ath9k_hw_get_eeprom(ah, EEP_DB_2); | 229 | db2GHz = ah->eep_ops->get_eeprom(ah, EEP_DB_2); |
230 | ath9k_phy_modify_rx_buffer(ah->ah_analogBank6Data, | 230 | ath9k_phy_modify_rx_buffer(ah->ah_analogBank6Data, |
231 | ob2GHz, 3, 197, 0); | 231 | ob2GHz, 3, 197, 0); |
232 | ath9k_phy_modify_rx_buffer(ah->ah_analogBank6Data, | 232 | ath9k_phy_modify_rx_buffer(ah->ah_analogBank6Data, |
233 | db2GHz, 3, 194, 0); | 233 | db2GHz, 3, 194, 0); |
234 | } else { | 234 | } else { |
235 | ob5GHz = ath9k_hw_get_eeprom(ah, EEP_OB_5); | 235 | ob5GHz = ah->eep_ops->get_eeprom(ah, EEP_OB_5); |
236 | db5GHz = ath9k_hw_get_eeprom(ah, EEP_DB_5); | 236 | db5GHz = ah->eep_ops->get_eeprom(ah, EEP_DB_5); |
237 | ath9k_phy_modify_rx_buffer(ah->ah_analogBank6Data, | 237 | ath9k_phy_modify_rx_buffer(ah->ah_analogBank6Data, |
238 | ob5GHz, 3, 203, 0); | 238 | ob5GHz, 3, 203, 0); |
239 | ath9k_phy_modify_rx_buffer(ah->ah_analogBank6Data, | 239 | ath9k_phy_modify_rx_buffer(ah->ah_analogBank6Data, |