diff options
author | Oliver Neukum <oliver@neukum.org> | 2012-03-03 18:45:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-22 23:04:27 -0400 |
commit | 8a78335442cea429afb2b964318b6e257448ea00 (patch) | |
tree | 45010fe7e377a19373532e7b1ae8615e282f36ed /drivers/net | |
parent | eaddcd76903c28e84bb452a35835babb0800a2c4 (diff) |
usbnet: consider device busy at each recieved packet
usbnet should centrally handle busy reporting in the rx path
so subdrivers need not worry. This hurts use cases which do
rx only or predominantly.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/usb/usbnet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index 62f8b5cfbb5..b7b3f5b0d40 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c @@ -493,6 +493,7 @@ block: if (netif_running (dev->net) && !test_bit (EVENT_RX_HALT, &dev->flags)) { rx_submit (dev, urb, GFP_ATOMIC); + usb_mark_last_busy(dev->udev); return; } usb_free_urb (urb); |