On Fri, 5 Feb 2021 20:11:58 +0100
Pali Rohár wrote:
> Function next_urb() selects the last urb data buffer from linked list
> to which next data from usbtty puts should be appended.
>
> But to check if TX data still exists it is needed to look at the
> first urb data buffer from linked list.
Function next_urb() selects the last urb data buffer from linked list to
which next data from usbtty puts should be appended.
But to check if TX data still exists it is needed to look at the first urb
data buffer from linked list. So check for endpoint->tx_urb (first from the
linked list) instead
2 matches
Mail list logo