summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/realtek/r8169.c
diff options
context:
space:
mode:
authorMing Lei2012-06-19 23:15:53 +0200
committerDavid S. Miller2012-06-23 02:34:18 +0200
commit65841fd5132c3941cdf5df09e70df3ed28323212 (patch)
tree804267b5d8b710e9939460aaaecb0803356c7843 /drivers/net/ethernet/realtek/r8169.c
parentusbnet: decrease suspend count if returning -EBUSY for runtime suspend (diff)
downloadkernel-qcow2-linux-65841fd5132c3941cdf5df09e70df3ed28323212.tar.gz
kernel-qcow2-linux-65841fd5132c3941cdf5df09e70df3ed28323212.tar.xz
kernel-qcow2-linux-65841fd5132c3941cdf5df09e70df3ed28323212.zip
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/ethernet/realtek/r8169.c')
0 files changed, 0 insertions, 0 deletions