|
From: Mattias A. <mat...@us...> - 2001-08-22 17:48:13
|
The following file was modified in apps/bluetooth/experimental:
Name Old version New version Comment
---- ----------- ----------- -------
bttest.c 1.18 1.19=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* parse command string in kernel instead
The diff of the modified file(s):
--- bttest.c 2001/08/21 14:40:50 1.18
+++ bttest.c 2001/08/22 17:48:12 1.19
@@ -458,7 +458,6 @@
else if(sscanf(buf, "sdp_conn %x:%x:%x:%x:%x:%x",
&tmp[0], &tmp[1], &tmp[2], &tmp[3], &tmp[4], &tmp[5]) =3D=3D 6)
{
-=20=20=20=20
for (i =3D 0; i < 6; i++)
{
bd[i] =3D (unsigned char)tmp[i];
@@ -486,7 +485,6 @@
else if (sscanf(buf, "test_case_reject %x:%x:%x:%x:%x:%x",
&tmp[0], &tmp[1], &tmp[2], &tmp[3], &tmp[4], &tmp[5]) =
=3D=3D 6)
{
- sprintf(buf, "test_case_reject %03d%03d%03d%03d%03d%03d\0", tmp[0], tm=
p[1], tmp[2], tmp[3], tmp[4], tmp[5]);=20
bt_testcmd(bt_cfd, buf);
}
else if (sscanf(buf, "test_disc %x", &tmp[0]) =3D=3D 1)
@@ -497,7 +495,6 @@
else if(sscanf(buf, "bb_conn %x:%x:%x:%x:%x:%x",
&tmp[0], &tmp[1], &tmp[2], &tmp[3], &tmp[4], &tmp[5]) =3D=3D 6)
{
- sprintf(buf, "bb_conn %03d%03d%03d%03d%03d%03d\0", tmp[5], tmp[4], tmp=
[3], tmp[2], tmp[1], tmp[0]);=20
bt_testcmd(bt_cfd, buf);
}
else if(sscanf(buf, "bb_disc %d", &i) =3D=3D 1)
|