]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: cold reset target after host warm boot
authorKalle Valo <kvalo@qca.qualcomm.com>
Sat, 9 Mar 2013 10:01:50 +0000 (12:01 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 18 Mar 2013 11:38:37 +0000 (13:38 +0200)
commit88c86791e3578bd2a681aaa2c50c625be5804025
tree72be0a7711e2aa907b6b43c7b9b3576ff0f52b16
parenta0ef3a12d329bf6e454bd363b818d9c36fc0d3ff
ath6kl: cold reset target after host warm boot

Julien reported that ar6004 usb device fails to initialise
after host has been rebooted and power is still on for the ar6004 device. He
found out that doing a cold reset fixes the issue.

I wasn't sure what would be the best way to detect if target needs a reset so I
settled on checking a timeout from htc_wait_recv_ctrl_message().

Reported-by: Julien Massot <jmassot@aldebaran-robotics.com>
Tested-by: Julien Massot <jmassot@aldebaran-robotics.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/htc_pipe.c
drivers/net/wireless/ath/ath6kl/init.c