Commit 847636cc authored by Ralf Bächle's avatar Ralf Bächle Committed by Jeff Garzik

[PATCH] Stop queue on close in hdlcdrv

The stop method of a driver should ensure queueing is stopped ...
parent 7f7cb43c
...@@ -549,6 +549,8 @@ static int hdlcdrv_close(struct net_device *dev) ...@@ -549,6 +549,8 @@ static int hdlcdrv_close(struct net_device *dev)
netif_stop_queue(dev); netif_stop_queue(dev);
netif_stop_queue(dev);
if (s->ops && s->ops->close) if (s->ops && s->ops->close)
i = s->ops->close(dev); i = s->ops->close(dev);
if (s->skb) if (s->skb)
......
Markdown is supported
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