|
From: Gordon M. <gm...@us...> - 2001-04-17 07:00:49
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
sdp.c 1.72 1.73=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
--Fixed a bug that caused the user process to hang while reinitializing the=
stack after establishing an SDP connection.
The diff of the modified file(s):
--- sdp.c 2001/04/17 00:56:11 1.72
+++ sdp.c 2001/04/17 07:00:49 1.73
@@ -755,9 +755,15 @@
D_ERR(__FUNCTION__ ", An error with error code %d occured duinr disconn=
etion of sdp channel %d\n", err, sdp_id);
sdp_con_list[sdp_id].state =3D SDP_DISCONNECTED;
sdp_con_list[sdp_id].l2cap =3D NULL;=20=20
- } else {
+ }=20
+#if 0
+ /* sdp_disconnect_cfm wakes up this queue, but by the time we
+ get here it already did, so we sleep forever!
+ */
+else {
interruptible_sleep_on(&sdp_disc_wq);
}
+#endif
}
}
=20
|