Re: [PATCH] usb: gadget: u_ether: Continue to send skbs if remote wakeup fails

From: Greg KH
Date: Sat May 03 2025 - 08:30:30 EST


On Fri, May 02, 2025 at 10:53:52PM +0800, zhilin.yang wrote:
> While UDC suspends, u_ether attempts to remote wakeup
> the host if there are any pending transfers. If there are no
> pending transfers, the is_suspend flag is set. If the is_suspend
> flag is set, it attempts to remote wakeup the host when start to
> send skbs. However, if host does not support remote wakeup, skbs
> will never be sent.

Please properly wrap your changelog at 72 columns.

> To fix this, stop to queue skbs and return NETDEV_TX_BUSY only if
> remote wakeup operation is successful.
>
> Signed-off-by: zhilin.yang <zlyang_001@xxxxxxx>

Please use your name, which I doubt has a "." in it, right? :)

Also, what git commit id does this fix?

thanks,

greg k-h