|
From: Peter K. <pk...@us...> - 2001-07-05 21:45:10
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci_vendor.c 1.48 1.49=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Made it compile for 2.4.x again (this fix was accidentally
removed in the last commit).
The diff of the modified file(s):
--- hci_vendor.c 2001/07/05 10:53:18 1.48
+++ hci_vendor.c 2001/07/05 21:45:08 1.49
@@ -691,10 +691,14 @@
/* wait for command status */
while (hci_ctrl.hc_buf.cmd_num =3D=3D 0)
{
- current->timeout =3D HZ/100;
current->state =3D TASK_INTERRUPTIBLE;
+#if LINUX_VERSION_CODE >=3D KERNEL_VERSION(2,2,0)
+ schedule_timeout(HZ/100);
+#else
+ current->timeout =3D HZ/100;
schedule();
current->timeout =3D 0;
+#endif
}
}
=20
|