The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
bluetooth.c 1.248 1.249=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Corrected returnvalue for HCIAUTHENTICATION_ENCRYPTION ioctl.
The diff of the modified file(s):
--- bluetooth.c 2004/01/30 12:03:51 1.248
+++ bluetooth.c 2004/02/04 17:55:23 1.249
@@ -975,7 +975,7 @@ hci_inq_exit0:
start_wq_timer(&secman_handler.timer, 30 * HZ,
&secman_handler.wq);
interruptible_sleep_on(&secman_handler.wq);
- if(secman_handler.status !=3D 0) {
+ if((secman_handler.status & 0xffff) !=3D 0) {
return -secman_handler.status;
}
if(hci_set_connection_encryption_bd(bd_addr, 1) < 0) {
@@ -985,8 +985,11 @@ hci_inq_exit0:
start_wq_timer(&secman_handler.timer, 10 * HZ,
&secman_handler.wq);
interruptible_sleep_on(&secman_handler.wq);
+ if((secman_handler.status & 0xffff) !=3D 0) {
return -secman_handler.status;
}
+ return 0;
+ }
=20=09
=20
case HCIREADCLOCKOFFSET:
|