[U-Boot] [PATCH 2/2] USB-CDC: Prevent rx_req being enqueued twice

Remy Bohmer linux at bohmer.net
Sat Oct 9 10:26:26 CEST 2010


Hi,

2010/9/22  <vkuzmichev at mvista.com>:
> From: Vitaly Kuzmichev <vkuzmichev at mvista.com>
>
> After gadget reinitializaton (after tftp has been done once)
> packet_received may become equal to 1 due to nuking OUT_EP
> while disabling it in eth_reset_config.
>
> rx_submit called from usb_eth_init queues rx_req first time.
> But the first call of usb_eth_recv from NetLoop queues rx_req
> again due to packet_received = 1.
>
> Signed-off-by: Vitaly Kuzmichev <vkuzmichev at mvista.com>
> ---
>  drivers/usb/gadget/ether.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>

Applied to u-boot-usb.
Thanks.

Remy


More information about the U-Boot mailing list