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

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)