Search Linux Wireless

Re: [PATCH v2 3/3] ath6kl: cold reset target after host warm boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kalle,

> 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@xxxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx>
> ---

This patch fix the issue, now my adapter works after a soft reboot.
The log are also better: (here is what happen on soft reboot)

[   17.328029] ath6kl: htc pipe control receive timeout!
[   17.328033] ath6kl: htc wait target timed out, resetting device
[   17.332178] ath6kl: Failed to start hardware: -110
[   17.332208] ath6kl: Failed to init ath6kl core: -110
[   17.332270] ath6kl_usb: probe of 2-1:1.0 failed with error -110
[   17.332306] usbcore: registered new interface driver ath6kl_usb
[   19.040315] ath6kl: ar6004 hw 1.3 usb fw 3.5.0.2356\x01 api 3

Thanks!

Tested-by: Julien Massot <jmassot@xxxxxxxxxxxxxxxxxxxxxx>

Julien
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux