
9 Oct
2010
9 Oct
'10
10:26 a.m.
Hi,
2010/9/22 vkuzmichev@mvista.com:
From: Vitaly Kuzmichev vkuzmichev@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@mvista.com
drivers/usb/gadget/ether.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied to u-boot-usb. Thanks.
Remy