From: Ming Lei Date: Tue, 19 Jun 2012 21:15:53 +0000 (+0000) Subject: usbnet: handle remote wakeup asap X-Git-Tag: v3.5-rc5~17^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65841fd5132c3941cdf5df09e70df3ed28323212;p=pandora-kernel.git 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 Acked-by: Oliver Neukum Signed-off-by: David S. Miller --- Reading git-diff-tree failed