From d9a19d200f00533b56fb109b6c538b6ea2961ab2 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 14 Oct 2007 19:40:49 +0100 Subject: hamradio: ->hard_header() takes packet type in host-endian Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- drivers/net/hamradio/mkiss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net/hamradio/mkiss.c') 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, const void *saddr, unsigned len) { #ifdef CONFIG_INET - if (type != htons(ETH_P_AX25)) + if (type != ETH_P_AX25) return ax25_hard_header(skb, dev, type, daddr, saddr, len); #endif return 0; -- cgit v1.2.2