Revert "usbnet: ipheth: race between ipheth_close and error handling"
This reverts commit 806a25636b
.
This commit is contained in:
parent
367c3c0607
commit
54b7a02bce
1 changed files with 1 additions and 1 deletions
|
@ -353,8 +353,8 @@ static int ipheth_close(struct net_device *net)
|
||||||
{
|
{
|
||||||
struct ipheth_device *dev = netdev_priv(net);
|
struct ipheth_device *dev = netdev_priv(net);
|
||||||
|
|
||||||
netif_stop_queue(net);
|
|
||||||
cancel_delayed_work_sync(&dev->carrier_work);
|
cancel_delayed_work_sync(&dev->carrier_work);
|
||||||
|
netif_stop_queue(net);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue