|
From: Mattias A. <mat...@us...> - 2001-04-12 15:14:06
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
btdebug.c 1.18 1.19=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* added bd2str which converts a bd addr into a string
=20=20
The diff of the modified file(s):
--- btdebug.c 2001/03/30 10:28:20 1.18
+++ btdebug.c 2001/04/12 15:14:06 1.19
@@ -126,8 +126,16 @@
}
printf("\n");
}
-
#endif
=20
+const char* bd2str(const unsigned char *bd)
+{
+ static char buf[20];
+
+ sprintf(buf, "%02X:%02X:%02X:%02X:%02X:%02X",
+ bd[0], bd[1], bd[2], bd[3], bd[4], bd[5]);
+
+ return buf;
+}
=20
/****************** END OF FILE debug.c **********************************=
***/
|