ath9k: race condition in SCANNING state check during ANI calibration
[linux-2.6.git] / drivers / net / wireless / ath / ath9k / ath9k.h
index 747e046b03b0cc75d211dd57003fd7fab5abbacd..eb9d5228cb6c4e6bf3e2991ac49a1cd60d6c4770 100644 (file)
@@ -540,6 +540,7 @@ struct ath_softc {
        int irq;
        spinlock_t sc_resetlock;
        spinlock_t sc_serial_rw;
+       spinlock_t ani_lock;
        struct mutex mutex;
 
        u8 curbssid[ETH_ALEN];