|
@@ -1120,7 +1120,10 @@ void gether_disconnect(struct gether *link)
|
|
|
|
|
|
DBG(dev, "%s\n", __func__);
|
|
DBG(dev, "%s\n", __func__);
|
|
|
|
|
|
|
|
+ netif_tx_lock(dev->net);
|
|
netif_stop_queue(dev->net);
|
|
netif_stop_queue(dev->net);
|
|
|
|
+ netif_tx_unlock(dev->net);
|
|
|
|
+
|
|
netif_carrier_off(dev->net);
|
|
netif_carrier_off(dev->net);
|
|
|
|
|
|
/* disable endpoints, forcing (synchronous) completion
|
|
/* disable endpoints, forcing (synchronous) completion
|