Re: Make USB WiFi drivers more robust

2023-07-25 Thread Peter Stuge
Martin Pieuchot wrote: > > 1. The driver's ioctl function. > > > > 2. The driver's USB transfer completion callbacks. > > Those are called by usb_transfer_complete(). This correspond to > xhci_xfer_done() and xhci_event_port_change(). Does those functions > need to be called during suspend? xh

Re: Make USB WiFi drivers more robust

2023-07-24 Thread Martin Pieuchot
On 24/07/23(Mon) 12:07, Mark Kettenis wrote: > Hi All, > > I recently committed a change to the xhci(4) driver that fixed an > issue with suspending a machine while it has USB devices plugged in. > Unfortunately this diff had some unintended side effects. After > looking at the way the USB stack

Make USB WiFi drivers more robust

2023-07-24 Thread Mark Kettenis
Hi All, I recently committed a change to the xhci(4) driver that fixed an issue with suspending a machine while it has USB devices plugged in. Unfortunately this diff had some unintended side effects. After looking at the way the USB stack works, I've come to the conclusion that it is best to try