From: Peter K. <pk...@us...> - 2001-10-02 11:58:52
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- bluetooth.c 1.198 1.199=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Use available defines in bt_catch_ncp(). The diff of the modified file(s): --- bluetooth.c 2001/09/20 10:11:08 1.198 +++ bluetooth.c 2001/10/02 11:58:50 1.199 @@ -1793,8 +1793,9 @@ =20 /* || uart hdr | event code | par_len | nbr_handles | [data...] || */ =20 - while (((index+2) < count) && (data[index] =3D=3D 0x4) &&=20 - (data[index+1] =3D=3D 0x13) ) { + while (index+2 < count && + data[index] =3D=3D EVENT_PKT &&=20 + data[index+1] =3D=3D NBR_OF_COMPLETED_PACKETS) { /* we found a NCP */ index +=3D (3 + data[index + 2]); /* event hdr + par len */ } |