patch-2.4.22 linux-2.4.22/net/bluetooth/bnep/bnep.h
Next file: linux-2.4.22/net/bluetooth/bnep/core.c
Previous file: linux-2.4.22/net/bluetooth/bnep/Makefile.lib
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
2003-08-25 04:44:44.000000000 -0700
-  Orig file: 
linux-2.4.21/net/bluetooth/bnep/bnep.h
-  Orig date: 
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.21/net/bluetooth/bnep/bnep.h linux-2.4.22/net/bluetooth/bnep/bnep.h
@@ -26,7 +26,7 @@
 #include <linux/types.h>
 #include <net/bluetooth/bluetooth.h>
 
-#include "crc32.h"
+#include <linux/crc32.h>
 
 // Limits
 #define BNEP_MAX_PROTO_FILTERS     5
@@ -179,7 +179,7 @@
 
 static inline int bnep_mc_hash(__u8 *addr)
 {
-        return (bnep_crc32(~0, addr, ETH_ALEN) >> 26);
+        return (crc32_be(~0, addr, ETH_ALEN) >> 26);
 }
 
 #endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)