Commit 80124602 authored by Ralf Bächle's avatar Ralf Bächle

[PATCH] hdlcdrv needs to stop queueing

We better stop the queue in the close call.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 8f6cc47a
......@@ -588,6 +588,8 @@ static int hdlcdrv_close(struct net_device *dev)
return -EINVAL;
s = (struct hdlcdrv_state *)dev->priv;
netif_stop_queue(dev);
if (s->ops && s->ops->close)
i = s->ops->close(dev);
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