diff options
Diffstat (limited to 'drivers/net/hamradio/mkiss.c')
-rw-r--r-- | drivers/net/hamradio/mkiss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c index 63b1a2b86acb..d9fe64b46f4b 100644 --- a/drivers/net/hamradio/mkiss.c +++ b/drivers/net/hamradio/mkiss.c | |||
@@ -500,7 +500,7 @@ static int ax_header(struct sk_buff *skb, struct net_device *dev, unsigned short | |||
500 | { | 500 | { |
501 | #ifdef CONFIG_INET | 501 | #ifdef CONFIG_INET |
502 | if (type != htons(ETH_P_AX25)) | 502 | if (type != htons(ETH_P_AX25)) |
503 | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); | 503 | return ax25_hard_header(skb, dev, type, daddr, saddr, len); |
504 | #endif | 504 | #endif |
505 | return 0; | 505 | return 0; |
506 | } | 506 | } |