summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/hdlc_ppp.c
diff options
context:
space:
mode:
authorKrzysztof Halasa <khc@pm.waw.pl>2006-07-21 23:41:01 +0200
committerDavid S. Miller <davem@davemloft.net>2006-07-21 23:41:01 +0200
commit4bc83b4d409edacb33db6c71d03e963d9728476c (patch)
tree97b3601ffe80b2fd4efdcdbe7d92bc1829cd6da6 /drivers/net/wan/hdlc_ppp.c
parent[IPV4]: Get rid of redundant IPCB->opts initialisation (diff)
downloadlinux-4bc83b4d409edacb33db6c71d03e963d9728476c.tar.xz
linux-4bc83b4d409edacb33db6c71d03e963d9728476c.zip
[WAN]: Added missing netif_dormant_off() to generic HDLC
WAN: Fixed a problem with PPP/raw HDLC/X.25 protocols not doing netif_dormant_off() at startup. Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/hdlc_ppp.c')
-rw-r--r--drivers/net/wan/hdlc_ppp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wan/hdlc_ppp.c b/drivers/net/wan/hdlc_ppp.c
index b81263eaede0..fbaab5bf71eb 100644
--- a/drivers/net/wan/hdlc_ppp.c
+++ b/drivers/net/wan/hdlc_ppp.c
@@ -107,6 +107,7 @@ int hdlc_ppp_ioctl(struct net_device *dev, struct ifreq *ifr)
dev->hard_header = NULL;
dev->type = ARPHRD_PPP;
dev->addr_len = 0;
+ netif_dormant_off(dev);
return 0;
}