ath9k_hw: Fix noise floor calibration timeout on fast channel change
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Tue, 25 Oct 2011 11:17:36 +0000 (16:47 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Nov 2011 19:23:12 +0000 (15:23 -0400)
commit93348928f2c980718434b1bc42f9d7638d665db4
treeecab668b838bf175e2b88347f9501e9acd62e005
parent98fb2cc115b4ef1ea0a2d87a170c183bd395dd6c
ath9k_hw: Fix noise floor calibration timeout on fast channel change

During the fast channel change noise floor values are being loaded
twice at init_cal and after channel_change. The commit "ath9k_hw:
Improve fast channel change for AR9003 chips" overlooked it that
caused failure to load nf while doing bgscan. This patch performs noise
floor calibration after the fast and full reset.

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