]> git.baikalelectronics.ru Git - kernel.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)
commit4276adc1cd9851889a99508452d97812964a98ce
treee8021114d31c735913e423ccdbedfd4cba54c39c
parent8eb5350fed5a62a0850847b32af7d74df5fab2fd
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