]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ath9k_hw: fix unreachable code in baseband hang detection code
authorFelix Fietkau <nbd@openwrt.org>
Sun, 9 Mar 2014 08:51:16 +0000 (09:51 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Mar 2014 18:57:26 +0000 (14:57 -0400)
commit105ff411c96c52c67261efbe245f0947d39ebce7
treee8021114d31c735913e423ccdbedfd4cba54c39c
parent2dc3a8e0b6e10c77798a4f6f711ce66334eda1c4
ath9k_hw: fix unreachable code in baseband hang detection code

The commit "ath9k: reduce baseband hang detection false positive rate"
added a delay in the loop checking the baseband state, however it was
unreachable due to previous 'continue' statements.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c