summaryrefslogtreecommitdiff
path: root/drivers/net/usb/gl620a.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2012-06-19 21:15:53 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-06-23 00:34:18 (GMT)
commit65841fd5132c3941cdf5df09e70df3ed28323212 (patch)
tree804267b5d8b710e9939460aaaecb0803356c7843 /drivers/net/usb/gl620a.c
parent5eeb3132eb4c5e9ca92e5247fe4575fe9f8c3efe (diff)
downloadlinux-fsl-qoriq-65841fd5132c3941cdf5df09e70df3ed28323212.tar.xz
usbnet: handle remote wakeup asap
If usbnet is resumed by remote wakeup, generally there are some packets comming to be handled, so allocate and submit rx URBs in usbnet_resume to avoid delays introduced by tasklet. Otherwise, usbnet may have been runtime suspended before the usbnet_bh is executed to schedule Rx URBs. Without the patch, usbnet can't recieve any packets from peer in runtime suspend state if runtime PM is enabled and autosuspend_delay is set as zero. Signed-off-by: Ming Lei <ming.lei@canonical.com> Acked-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/gl620a.c')
0 files changed, 0 insertions, 0 deletions