From: hayeswang Date: Wed, 12 Nov 2014 02:05:05 +0000 (+0800) Subject: r8152: check RTL8152_UNPLUG and netif_running before autoresume X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~210^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1f83feecc9e754eac5286844e7d7dcc58a0aceb;p=pandora-kernel.git r8152: check RTL8152_UNPLUG and netif_running before autoresume If the device is unplugged or !netif_running(), the workqueue doesn't need to wake the device, and could return directly. Signed-off-by: Hayes Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed