ath9k_hw: Fix radio retention for AR9462
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Thu, 20 Oct 2011 08:59:38 +0000 (14:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Nov 2011 19:23:11 +0000 (15:23 -0400)
commit91ae4d02913808fc4056168766185d1a3bd63f65
treec26ef7f3b71f3f3af44bc00f8fda18988805920b
parent52d6d4ef5e6d1517688e27c11c01ab303ec681dd
ath9k_hw: Fix radio retention for AR9462

IQ calibration during fast channel change sometimes failed
with RTT. And also restoring invalid radio retention readings
during init cal could cause failure to set the channel properly.
This patch counts the valid rtt history readings and clears
rtt mask.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_calib.c