ath5k: do not re-run AGC calibration periodically
authorFelix Fietkau <nbd@openwrt.org>
Tue, 6 Mar 2012 10:06:38 +0000 (11:06 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Mar 2012 20:16:18 +0000 (15:16 -0500)
commit5c17ddc4a047c59638c7eb8537aa887a1ddb9b0b
tree47633f4289f30043be66dcb2b868b81208fac627
parent62e2c102cc1d2600381410c089ca9a37359577d2
ath5k: do not re-run AGC calibration periodically

All other Atheros drivers run the AGC gain calibration and DC offset
calibration only after reset. Running them periodically has caused stability
issues on some (primarily AR2315/2413/5413/5414 based) devices, leading to
messages such as:

ath5k phy0: gain calibration timeout (2462MHz)
ath5k phy0: calibration of channel 11 failed

Related bug reports:
https://dev.openwrt.org/ticket/10574
https://bugzilla.redhat.com/show_bug.cgi?id=795141

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c