|
From: Peter K. <pk...@us...> - 2001-10-16 14:45:21
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- bluetooth.c 1.205 1.206=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: If theline argument to the BTISLOWERCONNECTED ioctl is negative, it checks the status for the current tty. The diff of the modified file(s): --- bluetooth.c 2001/10/16 11:10:14 1.205 +++ bluetooth.c 2001/10/16 14:44:56 1.206 @@ -621,7 +621,8 @@ s32 line;=09=20=20 =20 copy_from_user(&line, (s32*)arg, size); - return (SESSIONSTATE(line) =3D=3D BT_LOWERCONNECTED); + return (line >=3D 0 && SESSIONSTATE(line) =3D=3D BT_LOWERCONNECTED) || + (line < 0 && SESSIONSTATE(GET_TTYLINE(tty)) =3D=3D BT_LOWERCONNEC= TED); } =20=09 case BTINITSTACK: |