|
From: Peter K. <pk...@us...> - 2001-08-29 09:35:08
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
bluetooth.c 1.190 1.191=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
The BTSETBCSPMODE ioctl can now return the old mode.
The diff of the modified file(s):
--- bluetooth.c 2001/08/02 15:13:20 1.190
+++ bluetooth.c 2001/08/29 09:35:07 1.191
@@ -718,7 +718,6 @@
kfree(inq_res);=09=09
hci_inq_exit0:
return ret;
- break;
}
=20=09
case HCILINKKEYREPLY:
@@ -1081,15 +1080,12 @@
=20
case BTSETBCSPMODE :
{
- u8 enable;
-
GET_USER(tmp, (s32*)arg);
-
- enable =3D (u8)(tmp & 0xff);
=20=09=09
- BT_DRIVER("BTSETBCSPMODE : %d\n", enable);
+ BT_DRIVER("BTSETBCSPMODE: %d\n", tmp);
=20=09=09
- bt_use_bcsp(enable);
+ tmp =3D bt_use_bcsp(tmp);
+ put_user(tmp, (s32*)arg);
=20=09=09
return 0;
}
|