ath9k: race condition in SCANNING state check during ANI calibration