Commit a1f83fee authored by hayeswang's avatar hayeswang Committed by David S. Miller
Browse files

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: default avatarHayes Wang <hayeswang@realtek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9451a11c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment