diff options
Diffstat (limited to 'drivers/net/ethernet/realtek/r8169.c')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 074a5741baf3..71393ea8ef51 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/pci-aspm.h> | 29 | #include <linux/pci-aspm.h> |
30 | #include <linux/prefetch.h> | 30 | #include <linux/prefetch.h> |
31 | 31 | ||
32 | #include <asm/system.h> | ||
33 | #include <asm/io.h> | 32 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
35 | 34 | ||
@@ -5812,7 +5811,10 @@ static void __rtl8169_resume(struct net_device *dev) | |||
5812 | 5811 | ||
5813 | rtl_pll_power_up(tp); | 5812 | rtl_pll_power_up(tp); |
5814 | 5813 | ||
5814 | rtl_lock_work(tp); | ||
5815 | napi_enable(&tp->napi); | ||
5815 | set_bit(RTL_FLAG_TASK_ENABLED, tp->wk.flags); | 5816 | set_bit(RTL_FLAG_TASK_ENABLED, tp->wk.flags); |
5817 | rtl_unlock_work(tp); | ||
5816 | 5818 | ||
5817 | rtl_schedule_task(tp, RTL_FLAG_TASK_RESET_PENDING); | 5819 | rtl_schedule_task(tp, RTL_FLAG_TASK_RESET_PENDING); |
5818 | } | 5820 | } |