]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ath9k: fix false positives in the baseband hang check
authorFelix Fietkau <nbd@openwrt.org>
Thu, 1 Jul 2010 22:09:52 +0000 (00:09 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 2 Jul 2010 17:44:38 +0000 (13:44 -0400)
commit347809fc2c99da5b89f1c014f3e5a0f85c04803c
tree6bacea4f51a2ab8711deaea1ee4eecc213ff39ca
parent54bd5006b03ee980f6067b4d61c3605b5a5e1d4a
ath9k: fix false positives in the baseband hang check

ath9k_hw_check_alive() occasionally returns false, as the hardware
is still processing data in a specific state. Fix this issue by
repeating the test a few times with longer delay inbetween attempts.
This gets rid of excessive hardware resets that appear frequently on
some AR9132 based devices, but could also happen on AR9280.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Reported-by: Björn Smedman <bjorn.smedman@venatech.se>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/main.c