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

2010-10-09 Thread Remy Bohmer
Hi, 2010/9/22 : > From: Vitaly Kuzmichev > > 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 o

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

2010-09-22 Thread vkuzmichev
From: Vitaly Kuzmichev 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 queu