|
From: Gordon M. <gm...@us...> - 2001-04-18 00:54:07
|
The following file was modified in apps/bluetooth/btd:
Name Old version New version Comment
---- ----------- ----------- -------
btd.c 1.91 1.92=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Fixed the hci_inquiry hang (hopefully).
The diff of the modified file(s):
--- btd.c 2001/04/17 12:09:10 1.91
+++ btd.c 2001/04/18 00:53:36 1.92
@@ -2900,6 +2900,7 @@
{
#ifdef BTD_USERSTACK
char inq_lap[6];
+ inquiry_results *inq_res;
=20
printf("Inquiring...\n");
=20
@@ -2907,7 +2908,8 @@
inq_lap[1] =3D 0x8b;
inq_lap[2] =3D 0x9e;
=20
- hci_inquiry(inq_lap, t, nbr_rsp);
+ inq_res =3D (inquiry_results*) malloc(sizeof(inquiry_results) + nbr_rsp =
* 6);
+ hci_inquiry(inq_lap, t, nbr_rsp, inq_res);
#else
int i;
inquiry_results *inq_res;
|