diff options
Diffstat (limited to 'drivers/net/wan/hdlc_x25.c')
-rw-r--r-- | drivers/net/wan/hdlc_x25.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/hdlc_x25.c b/drivers/net/wan/hdlc_x25.c index cbcbf6f0414c..b1dc29ed1583 100644 --- a/drivers/net/wan/hdlc_x25.c +++ b/drivers/net/wan/hdlc_x25.c | |||
@@ -184,6 +184,7 @@ static struct hdlc_proto proto = { | |||
184 | .close = x25_close, | 184 | .close = x25_close, |
185 | .ioctl = x25_ioctl, | 185 | .ioctl = x25_ioctl, |
186 | .netif_rx = x25_rx, | 186 | .netif_rx = x25_rx, |
187 | .xmit = x25_xmit, | ||
187 | .module = THIS_MODULE, | 188 | .module = THIS_MODULE, |
188 | }; | 189 | }; |
189 | 190 | ||
@@ -213,7 +214,6 @@ static int x25_ioctl(struct net_device *dev, struct ifreq *ifr) | |||
213 | 214 | ||
214 | if ((result = attach_hdlc_protocol(dev, &proto, 0))) | 215 | if ((result = attach_hdlc_protocol(dev, &proto, 0))) |
215 | return result; | 216 | return result; |
216 | dev->hard_start_xmit = x25_xmit; | ||
217 | dev->type = ARPHRD_X25; | 217 | dev->type = ARPHRD_X25; |
218 | netif_dormant_off(dev); | 218 | netif_dormant_off(dev); |
219 | return 0; | 219 | return 0; |