diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-09 02:57:26 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 13:45:10 -0500 |
commit | 2660b81a378ab227b78c4cc618453fa7e19a7c7b (patch) | |
tree | ea305af43f0e27c86538fecce6c9a4e0151dbc78 /drivers/net/wireless/ath9k/calib.c | |
parent | f74df6fbe31561091bf42be0ed30232be2b9d3ac (diff) |
ath9k: Remove all the useless ah_ variable prefixes
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/calib.c')
-rw-r--r-- | drivers/net/wireless/ath9k/calib.c | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/drivers/net/wireless/ath9k/calib.c b/drivers/net/wireless/ath9k/calib.c index 7e70a81e21de..1fc3a08e85c6 100644 --- a/drivers/net/wireless/ath9k/calib.c +++ b/drivers/net/wireless/ath9k/calib.c | |||
@@ -229,13 +229,13 @@ static void ath9k_hw_reset_calibration(struct ath_hw *ah, | |||
229 | currCal->calState = CAL_RUNNING; | 229 | currCal->calState = CAL_RUNNING; |
230 | 230 | ||
231 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { | 231 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { |
232 | ah->ah_Meas0.sign[i] = 0; | 232 | ah->meas0.sign[i] = 0; |
233 | ah->ah_Meas1.sign[i] = 0; | 233 | ah->meas1.sign[i] = 0; |
234 | ah->ah_Meas2.sign[i] = 0; | 234 | ah->meas2.sign[i] = 0; |
235 | ah->ah_Meas3.sign[i] = 0; | 235 | ah->meas3.sign[i] = 0; |
236 | } | 236 | } |
237 | 237 | ||
238 | ah->ah_CalSamples = 0; | 238 | ah->cal_samples = 0; |
239 | } | 239 | } |
240 | 240 | ||
241 | static void ath9k_hw_per_calibration(struct ath_hw *ah, | 241 | static void ath9k_hw_per_calibration(struct ath_hw *ah, |
@@ -251,9 +251,9 @@ static void ath9k_hw_per_calibration(struct ath_hw *ah, | |||
251 | AR_PHY_TIMING_CTRL4_DO_CAL)) { | 251 | AR_PHY_TIMING_CTRL4_DO_CAL)) { |
252 | 252 | ||
253 | currCal->calData->calCollect(ah); | 253 | currCal->calData->calCollect(ah); |
254 | ah->ah_CalSamples++; | 254 | ah->cal_samples++; |
255 | 255 | ||
256 | if (ah->ah_CalSamples >= currCal->calData->calNumSamples) { | 256 | if (ah->cal_samples >= currCal->calData->calNumSamples) { |
257 | int i, numChains = 0; | 257 | int i, numChains = 0; |
258 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { | 258 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { |
259 | if (rxchainmask & (1 << i)) | 259 | if (rxchainmask & (1 << i)) |
@@ -279,7 +279,7 @@ static bool ath9k_hw_iscal_supported(struct ath_hw *ah, | |||
279 | { | 279 | { |
280 | struct ieee80211_conf *conf = &ah->ah_sc->hw->conf; | 280 | struct ieee80211_conf *conf = &ah->ah_sc->hw->conf; |
281 | 281 | ||
282 | switch (calType & ah->ah_suppCals) { | 282 | switch (calType & ah->supp_cals) { |
283 | case IQ_MISMATCH_CAL: /* Both 2 GHz and 5 GHz support OFDM */ | 283 | case IQ_MISMATCH_CAL: /* Both 2 GHz and 5 GHz support OFDM */ |
284 | return true; | 284 | return true; |
285 | case ADC_GAIN_CAL: | 285 | case ADC_GAIN_CAL: |
@@ -297,17 +297,17 @@ static void ath9k_hw_iqcal_collect(struct ath_hw *ah) | |||
297 | int i; | 297 | int i; |
298 | 298 | ||
299 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { | 299 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { |
300 | ah->ah_totalPowerMeasI[i] += | 300 | ah->totalPowerMeasI[i] += |
301 | REG_READ(ah, AR_PHY_CAL_MEAS_0(i)); | 301 | REG_READ(ah, AR_PHY_CAL_MEAS_0(i)); |
302 | ah->ah_totalPowerMeasQ[i] += | 302 | ah->totalPowerMeasQ[i] += |
303 | REG_READ(ah, AR_PHY_CAL_MEAS_1(i)); | 303 | REG_READ(ah, AR_PHY_CAL_MEAS_1(i)); |
304 | ah->ah_totalIqCorrMeas[i] += | 304 | ah->totalIqCorrMeas[i] += |
305 | (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_2(i)); | 305 | (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_2(i)); |
306 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, | 306 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, |
307 | "%d: Chn %d pmi=0x%08x;pmq=0x%08x;iqcm=0x%08x;\n", | 307 | "%d: Chn %d pmi=0x%08x;pmq=0x%08x;iqcm=0x%08x;\n", |
308 | ah->ah_CalSamples, i, ah->ah_totalPowerMeasI[i], | 308 | ah->cal_samples, i, ah->totalPowerMeasI[i], |
309 | ah->ah_totalPowerMeasQ[i], | 309 | ah->totalPowerMeasQ[i], |
310 | ah->ah_totalIqCorrMeas[i]); | 310 | ah->totalIqCorrMeas[i]); |
311 | } | 311 | } |
312 | } | 312 | } |
313 | 313 | ||
@@ -316,23 +316,23 @@ static void ath9k_hw_adc_gaincal_collect(struct ath_hw *ah) | |||
316 | int i; | 316 | int i; |
317 | 317 | ||
318 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { | 318 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { |
319 | ah->ah_totalAdcIOddPhase[i] += | 319 | ah->totalAdcIOddPhase[i] += |
320 | REG_READ(ah, AR_PHY_CAL_MEAS_0(i)); | 320 | REG_READ(ah, AR_PHY_CAL_MEAS_0(i)); |
321 | ah->ah_totalAdcIEvenPhase[i] += | 321 | ah->totalAdcIEvenPhase[i] += |
322 | REG_READ(ah, AR_PHY_CAL_MEAS_1(i)); | 322 | REG_READ(ah, AR_PHY_CAL_MEAS_1(i)); |
323 | ah->ah_totalAdcQOddPhase[i] += | 323 | ah->totalAdcQOddPhase[i] += |
324 | REG_READ(ah, AR_PHY_CAL_MEAS_2(i)); | 324 | REG_READ(ah, AR_PHY_CAL_MEAS_2(i)); |
325 | ah->ah_totalAdcQEvenPhase[i] += | 325 | ah->totalAdcQEvenPhase[i] += |
326 | REG_READ(ah, AR_PHY_CAL_MEAS_3(i)); | 326 | REG_READ(ah, AR_PHY_CAL_MEAS_3(i)); |
327 | 327 | ||
328 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, | 328 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, |
329 | "%d: Chn %d oddi=0x%08x; eveni=0x%08x; " | 329 | "%d: Chn %d oddi=0x%08x; eveni=0x%08x; " |
330 | "oddq=0x%08x; evenq=0x%08x;\n", | 330 | "oddq=0x%08x; evenq=0x%08x;\n", |
331 | ah->ah_CalSamples, i, | 331 | ah->cal_samples, i, |
332 | ah->ah_totalAdcIOddPhase[i], | 332 | ah->totalAdcIOddPhase[i], |
333 | ah->ah_totalAdcIEvenPhase[i], | 333 | ah->totalAdcIEvenPhase[i], |
334 | ah->ah_totalAdcQOddPhase[i], | 334 | ah->totalAdcQOddPhase[i], |
335 | ah->ah_totalAdcQEvenPhase[i]); | 335 | ah->totalAdcQEvenPhase[i]); |
336 | } | 336 | } |
337 | } | 337 | } |
338 | 338 | ||
@@ -341,23 +341,23 @@ static void ath9k_hw_adc_dccal_collect(struct ath_hw *ah) | |||
341 | int i; | 341 | int i; |
342 | 342 | ||
343 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { | 343 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { |
344 | ah->ah_totalAdcDcOffsetIOddPhase[i] += | 344 | ah->totalAdcDcOffsetIOddPhase[i] += |
345 | (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_0(i)); | 345 | (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_0(i)); |
346 | ah->ah_totalAdcDcOffsetIEvenPhase[i] += | 346 | ah->totalAdcDcOffsetIEvenPhase[i] += |
347 | (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_1(i)); | 347 | (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_1(i)); |
348 | ah->ah_totalAdcDcOffsetQOddPhase[i] += | 348 | ah->totalAdcDcOffsetQOddPhase[i] += |
349 | (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_2(i)); | 349 | (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_2(i)); |
350 | ah->ah_totalAdcDcOffsetQEvenPhase[i] += | 350 | ah->totalAdcDcOffsetQEvenPhase[i] += |
351 | (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_3(i)); | 351 | (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_3(i)); |
352 | 352 | ||
353 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, | 353 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, |
354 | "%d: Chn %d oddi=0x%08x; eveni=0x%08x; " | 354 | "%d: Chn %d oddi=0x%08x; eveni=0x%08x; " |
355 | "oddq=0x%08x; evenq=0x%08x;\n", | 355 | "oddq=0x%08x; evenq=0x%08x;\n", |
356 | ah->ah_CalSamples, i, | 356 | ah->cal_samples, i, |
357 | ah->ah_totalAdcDcOffsetIOddPhase[i], | 357 | ah->totalAdcDcOffsetIOddPhase[i], |
358 | ah->ah_totalAdcDcOffsetIEvenPhase[i], | 358 | ah->totalAdcDcOffsetIEvenPhase[i], |
359 | ah->ah_totalAdcDcOffsetQOddPhase[i], | 359 | ah->totalAdcDcOffsetQOddPhase[i], |
360 | ah->ah_totalAdcDcOffsetQEvenPhase[i]); | 360 | ah->totalAdcDcOffsetQEvenPhase[i]); |
361 | } | 361 | } |
362 | } | 362 | } |
363 | 363 | ||
@@ -369,9 +369,9 @@ static void ath9k_hw_iqcalibrate(struct ath_hw *ah, u8 numChains) | |||
369 | int iqCorrNeg, i; | 369 | int iqCorrNeg, i; |
370 | 370 | ||
371 | for (i = 0; i < numChains; i++) { | 371 | for (i = 0; i < numChains; i++) { |
372 | powerMeasI = ah->ah_totalPowerMeasI[i]; | 372 | powerMeasI = ah->totalPowerMeasI[i]; |
373 | powerMeasQ = ah->ah_totalPowerMeasQ[i]; | 373 | powerMeasQ = ah->totalPowerMeasQ[i]; |
374 | iqCorrMeas = ah->ah_totalIqCorrMeas[i]; | 374 | iqCorrMeas = ah->totalIqCorrMeas[i]; |
375 | 375 | ||
376 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, | 376 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, |
377 | "Starting IQ Cal and Correction for Chain %d\n", | 377 | "Starting IQ Cal and Correction for Chain %d\n", |
@@ -379,7 +379,7 @@ static void ath9k_hw_iqcalibrate(struct ath_hw *ah, u8 numChains) | |||
379 | 379 | ||
380 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, | 380 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, |
381 | "Orignal: Chn %diq_corr_meas = 0x%08x\n", | 381 | "Orignal: Chn %diq_corr_meas = 0x%08x\n", |
382 | i, ah->ah_totalIqCorrMeas[i]); | 382 | i, ah->totalIqCorrMeas[i]); |
383 | 383 | ||
384 | iqCorrNeg = 0; | 384 | iqCorrNeg = 0; |
385 | 385 | ||
@@ -443,10 +443,10 @@ static void ath9k_hw_adc_gaincal_calibrate(struct ath_hw *ah, u8 numChains) | |||
443 | u32 qGainMismatch, iGainMismatch, val, i; | 443 | u32 qGainMismatch, iGainMismatch, val, i; |
444 | 444 | ||
445 | for (i = 0; i < numChains; i++) { | 445 | for (i = 0; i < numChains; i++) { |
446 | iOddMeasOffset = ah->ah_totalAdcIOddPhase[i]; | 446 | iOddMeasOffset = ah->totalAdcIOddPhase[i]; |
447 | iEvenMeasOffset = ah->ah_totalAdcIEvenPhase[i]; | 447 | iEvenMeasOffset = ah->totalAdcIEvenPhase[i]; |
448 | qOddMeasOffset = ah->ah_totalAdcQOddPhase[i]; | 448 | qOddMeasOffset = ah->totalAdcQOddPhase[i]; |
449 | qEvenMeasOffset = ah->ah_totalAdcQEvenPhase[i]; | 449 | qEvenMeasOffset = ah->totalAdcQEvenPhase[i]; |
450 | 450 | ||
451 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, | 451 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, |
452 | "Starting ADC Gain Cal for Chain %d\n", i); | 452 | "Starting ADC Gain Cal for Chain %d\n", i); |
@@ -499,15 +499,15 @@ static void ath9k_hw_adc_dccal_calibrate(struct ath_hw *ah, u8 numChains) | |||
499 | u32 iOddMeasOffset, iEvenMeasOffset, val, i; | 499 | u32 iOddMeasOffset, iEvenMeasOffset, val, i; |
500 | int32_t qOddMeasOffset, qEvenMeasOffset, qDcMismatch, iDcMismatch; | 500 | int32_t qOddMeasOffset, qEvenMeasOffset, qDcMismatch, iDcMismatch; |
501 | const struct hal_percal_data *calData = | 501 | const struct hal_percal_data *calData = |
502 | ah->ah_cal_list_curr->calData; | 502 | ah->cal_list_curr->calData; |
503 | u32 numSamples = | 503 | u32 numSamples = |
504 | (1 << (calData->calCountMax + 5)) * calData->calNumSamples; | 504 | (1 << (calData->calCountMax + 5)) * calData->calNumSamples; |
505 | 505 | ||
506 | for (i = 0; i < numChains; i++) { | 506 | for (i = 0; i < numChains; i++) { |
507 | iOddMeasOffset = ah->ah_totalAdcDcOffsetIOddPhase[i]; | 507 | iOddMeasOffset = ah->totalAdcDcOffsetIOddPhase[i]; |
508 | iEvenMeasOffset = ah->ah_totalAdcDcOffsetIEvenPhase[i]; | 508 | iEvenMeasOffset = ah->totalAdcDcOffsetIEvenPhase[i]; |
509 | qOddMeasOffset = ah->ah_totalAdcDcOffsetQOddPhase[i]; | 509 | qOddMeasOffset = ah->totalAdcDcOffsetQOddPhase[i]; |
510 | qEvenMeasOffset = ah->ah_totalAdcDcOffsetQEvenPhase[i]; | 510 | qEvenMeasOffset = ah->totalAdcDcOffsetQEvenPhase[i]; |
511 | 511 | ||
512 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, | 512 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, |
513 | "Starting ADC DC Offset Cal for Chain %d\n", i); | 513 | "Starting ADC DC Offset Cal for Chain %d\n", i); |
@@ -555,9 +555,9 @@ static void ath9k_hw_adc_dccal_calibrate(struct ath_hw *ah, u8 numChains) | |||
555 | bool ath9k_hw_reset_calvalid(struct ath_hw *ah) | 555 | bool ath9k_hw_reset_calvalid(struct ath_hw *ah) |
556 | { | 556 | { |
557 | struct ieee80211_conf *conf = &ah->ah_sc->hw->conf; | 557 | struct ieee80211_conf *conf = &ah->ah_sc->hw->conf; |
558 | struct hal_cal_list *currCal = ah->ah_cal_list_curr; | 558 | struct hal_cal_list *currCal = ah->cal_list_curr; |
559 | 559 | ||
560 | if (!ah->ah_curchan) | 560 | if (!ah->curchan) |
561 | return true; | 561 | return true; |
562 | 562 | ||
563 | if (!AR_SREV_9100(ah) && !AR_SREV_9160_10_OR_LATER(ah)) | 563 | if (!AR_SREV_9100(ah) && !AR_SREV_9160_10_OR_LATER(ah)) |
@@ -580,7 +580,7 @@ bool ath9k_hw_reset_calvalid(struct ath_hw *ah) | |||
580 | "Resetting Cal %d state for channel %u\n", | 580 | "Resetting Cal %d state for channel %u\n", |
581 | currCal->calData->calType, conf->channel->center_freq); | 581 | currCal->calData->calType, conf->channel->center_freq); |
582 | 582 | ||
583 | ah->ah_curchan->CalValid &= ~currCal->calData->calType; | 583 | ah->curchan->CalValid &= ~currCal->calData->calType; |
584 | currCal->calState = CAL_WAITING; | 584 | currCal->calState = CAL_WAITING; |
585 | 585 | ||
586 | return false; | 586 | return false; |
@@ -722,7 +722,7 @@ bool ath9k_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan, | |||
722 | u8 rxchainmask, bool longcal, | 722 | u8 rxchainmask, bool longcal, |
723 | bool *isCalDone) | 723 | bool *isCalDone) |
724 | { | 724 | { |
725 | struct hal_cal_list *currCal = ah->ah_cal_list_curr; | 725 | struct hal_cal_list *currCal = ah->cal_list_curr; |
726 | 726 | ||
727 | *isCalDone = true; | 727 | *isCalDone = true; |
728 | 728 | ||
@@ -732,7 +732,7 @@ bool ath9k_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan, | |||
732 | ath9k_hw_per_calibration(ah, chan, rxchainmask, currCal, | 732 | ath9k_hw_per_calibration(ah, chan, rxchainmask, currCal, |
733 | isCalDone); | 733 | isCalDone); |
734 | if (*isCalDone) { | 734 | if (*isCalDone) { |
735 | ah->ah_cal_list_curr = currCal = currCal->calNext; | 735 | ah->cal_list_curr = currCal = currCal->calNext; |
736 | 736 | ||
737 | if (currCal->calState == CAL_WAITING) { | 737 | if (currCal->calState == CAL_WAITING) { |
738 | *isCalDone = false; | 738 | *isCalDone = false; |
@@ -743,7 +743,7 @@ bool ath9k_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan, | |||
743 | 743 | ||
744 | if (longcal) { | 744 | if (longcal) { |
745 | ath9k_hw_getnf(ah, chan); | 745 | ath9k_hw_getnf(ah, chan); |
746 | ath9k_hw_loadnf(ah, ah->ah_curchan); | 746 | ath9k_hw_loadnf(ah, ah->curchan); |
747 | ath9k_hw_start_nfcal(ah); | 747 | ath9k_hw_start_nfcal(ah); |
748 | 748 | ||
749 | if (chan->channelFlags & CHANNEL_CW_INT) | 749 | if (chan->channelFlags & CHANNEL_CW_INT) |
@@ -869,32 +869,32 @@ bool ath9k_hw_init_cal(struct ath_hw *ah, | |||
869 | REG_READ(ah, AR_PHY_AGC_CONTROL) | | 869 | REG_READ(ah, AR_PHY_AGC_CONTROL) | |
870 | AR_PHY_AGC_CONTROL_NF); | 870 | AR_PHY_AGC_CONTROL_NF); |
871 | 871 | ||
872 | ah->ah_cal_list = ah->ah_cal_list_last = ah->ah_cal_list_curr = NULL; | 872 | ah->cal_list = ah->cal_list_last = ah->cal_list_curr = NULL; |
873 | 873 | ||
874 | if (AR_SREV_9100(ah) || AR_SREV_9160_10_OR_LATER(ah)) { | 874 | if (AR_SREV_9100(ah) || AR_SREV_9160_10_OR_LATER(ah)) { |
875 | if (ath9k_hw_iscal_supported(ah, ADC_GAIN_CAL)) { | 875 | if (ath9k_hw_iscal_supported(ah, ADC_GAIN_CAL)) { |
876 | INIT_CAL(&ah->ah_adcGainCalData); | 876 | INIT_CAL(&ah->adcgain_caldata); |
877 | INSERT_CAL(ah, &ah->ah_adcGainCalData); | 877 | INSERT_CAL(ah, &ah->adcgain_caldata); |
878 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, | 878 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, |
879 | "enabling ADC Gain Calibration.\n"); | 879 | "enabling ADC Gain Calibration.\n"); |
880 | } | 880 | } |
881 | if (ath9k_hw_iscal_supported(ah, ADC_DC_CAL)) { | 881 | if (ath9k_hw_iscal_supported(ah, ADC_DC_CAL)) { |
882 | INIT_CAL(&ah->ah_adcDcCalData); | 882 | INIT_CAL(&ah->adcdc_caldata); |
883 | INSERT_CAL(ah, &ah->ah_adcDcCalData); | 883 | INSERT_CAL(ah, &ah->adcdc_caldata); |
884 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, | 884 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, |
885 | "enabling ADC DC Calibration.\n"); | 885 | "enabling ADC DC Calibration.\n"); |
886 | } | 886 | } |
887 | if (ath9k_hw_iscal_supported(ah, IQ_MISMATCH_CAL)) { | 887 | if (ath9k_hw_iscal_supported(ah, IQ_MISMATCH_CAL)) { |
888 | INIT_CAL(&ah->ah_iqCalData); | 888 | INIT_CAL(&ah->iq_caldata); |
889 | INSERT_CAL(ah, &ah->ah_iqCalData); | 889 | INSERT_CAL(ah, &ah->iq_caldata); |
890 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, | 890 | DPRINTF(ah->ah_sc, ATH_DBG_CALIBRATE, |
891 | "enabling IQ Calibration.\n"); | 891 | "enabling IQ Calibration.\n"); |
892 | } | 892 | } |
893 | 893 | ||
894 | ah->ah_cal_list_curr = ah->ah_cal_list; | 894 | ah->cal_list_curr = ah->cal_list; |
895 | 895 | ||
896 | if (ah->ah_cal_list_curr) | 896 | if (ah->cal_list_curr) |
897 | ath9k_hw_reset_calibration(ah, ah->ah_cal_list_curr); | 897 | ath9k_hw_reset_calibration(ah, ah->cal_list_curr); |
898 | } | 898 | } |
899 | 899 | ||
900 | chan->CalValid = 0; | 900 | chan->CalValid = 0; |