]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/hamradio/6pack.c
Convert files to UTF-8 and some cleanups
[net-next-2.6.git] / drivers / net / hamradio / 6pack.c
index ecd156def0398b24864313843b712caa186fb9ca..e0119f6a3319b2fca40af251d7bd3bf09dcde038 100644 (file)
@@ -3,7 +3,7 @@
  *             devices like TTY. It interfaces between a raw TTY and the
  *             kernel's AX.25 protocol layers.
  *
- * Authors:    Andreas Knsgen <ajk@iehk.rwth-aachen.de>
+ * Authors:    Andreas Kรถnsgen <ajk@iehk.rwth-aachen.de>
  *              Ralf Baechle DL5RB <ralf@linux-mips.org>
  *
  * Quite a lot of stuff "stolen" by Joerg Reuter from slip.c, written by
@@ -292,7 +292,7 @@ static int sp_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;