ath9k_hw: fix a noise floor calibration related race condition
[linux-2.6-block.git] / drivers / net / wireless / ath / ath9k / hw.h
index c1b701119d880cb4d4bf9923f465a9fd223189e1..399f7c1283cdf32ba4cdb5eef198c4cd2ed085bd 100644 (file)
@@ -354,6 +354,7 @@ struct ath9k_hw_cal_data {
        int8_t qCoff;
        int16_t rawNoiseFloor;
        bool paprd_done;
+       bool nfcal_pending;
        u16 small_signal_gain[AR9300_MAX_CHAINS];
        u32 pa_table[AR9300_MAX_CHAINS][PAPRD_TABLE_SZ];
        struct ath9k_nfcal_hist nfCalHist[NUM_NF_READINGS];