diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/hamradio/6pack.c | 2 | ||||
-rw-r--r-- | drivers/net/hamradio/mkiss.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index ecd156def039..ad9e327c3b03 100644 --- a/drivers/net/hamradio/6pack.c +++ b/drivers/net/hamradio/6pack.c | |||
@@ -292,7 +292,7 @@ static int sp_header(struct sk_buff *skb, struct net_device *dev, | |||
292 | const void *saddr, unsigned len) | 292 | const void *saddr, unsigned len) |
293 | { | 293 | { |
294 | #ifdef CONFIG_INET | 294 | #ifdef CONFIG_INET |
295 | if (type != htons(ETH_P_AX25)) | 295 | if (type != ETH_P_AX25) |
296 | return ax25_hard_header(skb, dev, type, daddr, saddr, len); | 296 | return ax25_hard_header(skb, dev, type, daddr, saddr, len); |
297 | #endif | 297 | #endif |
298 | return 0; | 298 | return 0; |
diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c index 9e43c47691ca..803a3bdea0af 100644 --- a/drivers/net/hamradio/mkiss.c +++ b/drivers/net/hamradio/mkiss.c | |||
@@ -583,7 +583,7 @@ static int ax_header(struct sk_buff *skb, struct net_device *dev, | |||
583 | const void *saddr, unsigned len) | 583 | const void *saddr, unsigned len) |
584 | { | 584 | { |
585 | #ifdef CONFIG_INET | 585 | #ifdef CONFIG_INET |
586 | if (type != htons(ETH_P_AX25)) | 586 | if (type != ETH_P_AX25) |
587 | return ax25_hard_header(skb, dev, type, daddr, saddr, len); | 587 | return ax25_hard_header(skb, dev, type, daddr, saddr, len); |
588 | #endif | 588 | #endif |
589 | return 0; | 589 | return 0; |