]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ath9k_hw: fix periodic noise floor calibration on AR9003
authorFelix Fietkau <nbd@openwrt.org>
Fri, 30 Jul 2010 19:02:10 +0000 (21:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Aug 2010 19:27:36 +0000 (15:27 -0400)
commit9369746050e838c57e357f0caa552386ad65a82d
treeadc9cf40f40f6d08490be81dd4343d667af59a56
parent00c86590e36bd42574821b43b5124d75f30df9dd
ath9k_hw: fix periodic noise floor calibration on AR9003

The periodic noise floor calibration is broken on this chip family, because
it keeps triggering a software-filtered noise floor calibration, but never
reads the result before uploading the history buffer value to the hardware.

Fix this with a call to ath9k_hw_getnf(), just like on AR9002.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_calib.c