diff options
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r-- | drivers/net/niu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c index 781e368329f9..f64c42414bd7 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c | |||
@@ -9917,7 +9917,7 @@ static int niu_suspend(struct pci_dev *pdev, pm_message_t state) | |||
9917 | if (!netif_running(dev)) | 9917 | if (!netif_running(dev)) |
9918 | return 0; | 9918 | return 0; |
9919 | 9919 | ||
9920 | flush_scheduled_work(); | 9920 | flush_work_sync(&np->reset_task); |
9921 | niu_netif_stop(np); | 9921 | niu_netif_stop(np); |
9922 | 9922 | ||
9923 | del_timer_sync(&np->timer); | 9923 | del_timer_sync(&np->timer); |