|
From: Mattias A. <mat...@us...> - 2001-08-02 13:03:01
|
The following file was modified in apps/bluetooth/experimental:
Name Old version New version Comment
---- ----------- ----------- -------
bt_if.c 1.26 1.27=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* removed some debug
The diff of the modified file(s):
--- bt_if.c 2001/08/01 10:26:17 1.26
+++ bt_if.c 2001/08/02 13:02:40 1.27
@@ -512,20 +512,17 @@
int ret_val =3D 0;
unsigned char len =3D strlen(cmd);
unsigned char tmp[261];
- syslog(LOG_INFO, "bt_testcmd : len %d", len);
- syslog(LOG_INFO, "cmddata:_%s_", cmd);
+
tmp[0]=3D len;
memcpy(tmp+1, cmd, len+1); /* don't forget nullterminate... */
=20=20=20=20=20
- print_data("usermode data :", tmp, len+2);
+ //printf("bt_testcmd : [%d] '%s'", len, cmd);
=20
#ifndef BT_USERSTACK=20
if ((ret_val =3D ioctl(bt_cfd, BTTESTCOMMAND, tmp)) < 0)
{
printf("Error : %s\n", error_msg(ret_val));
}
- else
- printf("Success!\n");
#else
test_process_cmd(&tmp[1], tmp[0]);
#endif
|