diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 14:40:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 15:41:52 -0400 |
commit | d9a19d200f00533b56fb109b6c538b6ea2961ab2 (patch) | |
tree | c19145fef1ab86970dc15dd0a23f1f12165b97d8 /drivers/net/hamradio/mkiss.c | |
parent | fa8a4b63da9886a40d5a67529a2b7282ca9b8fd2 (diff) |
hamradio: ->hard_header() takes packet type in host-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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 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; |