|
From: Peter K. <pk...@us...> - 2001-04-17 12:07:57
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
bluetooth.c 1.163 1.164=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Cannot clear the buffers in bt_flush_buffer() due to how hangup works.
The diff of the modified file(s):
--- bluetooth.c 2001/04/17 06:09:19 1.163
+++ bluetooth.c 2001/04/17 12:07:57 1.164
@@ -466,6 +466,9 @@
static void
bt_flush_buffer(struct tty_struct *tty)
{
+ /* Clearing the buffers here may lead to them being cleared before
+ they are sent when diconnecting a connection */
+#if 0
bt_tx_buf* tx_buf;
=20
BT_DRIVER("bt_flush_buffer\n");
@@ -473,6 +476,7 @@
while ((tx_buf =3D get_bt_buf())) {
unsubscribe_bt_buf(tx_buf);
}
+#endif
}
=20
static s32
|