]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: Stop ANI before doing hw_reset
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Wed, 14 May 2014 09:09:21 +0000 (14:39 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 May 2014 19:42:46 +0000 (15:42 -0400)
commitd343ab48b704c587a9520cf5fb2f031f47c81d97
treee19a2927f8e77e3e582414b220ad304eeeafab78
parent107a7d93bcd5abe802b1911d08867cfda8cb2c34
ath9k_htc: Stop ANI before doing hw_reset

During remain on channel request, ANI worker thread is not stopped
before doing hw reset. This is causing kernel crash in
hw_per_calibration. This change ensures that ANI is stopped before
doing chip reset and it will be rescheduled later when the chip is
configured back to home channel and having valid bss.

Reported-by: David Herrmann <dh.herrmann@gmail.com>
Tested-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_main.c