projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WAN: HDLC: Call notifiers before and after changing device type
[deliverable/linux.git]
/
drivers
/
net
/
wan
/
hdlc_x25.c
diff --git
a/drivers/net/wan/hdlc_x25.c
b/drivers/net/wan/hdlc_x25.c
index a49aec5efd2072507e0e35d9fa40fb2760df796f..e867638067a65cff846fd13dfa4644c248847a97 100644
(file)
--- a/
drivers/net/wan/hdlc_x25.c
+++ b/
drivers/net/wan/hdlc_x25.c
@@
-213,6
+213,7
@@
static int x25_ioctl(struct net_device *dev, struct ifreq *ifr)
if ((result = attach_hdlc_protocol(dev, &proto, 0)))
return result;
dev->type = ARPHRD_X25;
+ call_netdevice_notifiers(NETDEV_POST_TYPE_CHANGE, dev);
netif_dormant_off(dev);
return 0;
}
This page took
0.037274 seconds
and
5
git commands to generate.