]> 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)
commite534b526ba252d1ae4a41dad124f8610fa9be63a
treee8021114d31c735913e423ccdbedfd4cba54c39c
parent83e534592590cdc7d994e3d5b477e6b291983a51
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