|
From: Peter K. <pk...@us...> - 2001-04-17 16:57:48
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
rfcomm.c 1.101 1.102=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Unregister rfcomm when disconnecting control channel remotely.
The diff of the modified file(s):
--- rfcomm.c 2001/04/17 10:00:26 1.101
+++ rfcomm.c 2001/04/17 16:57:47 1.102
@@ -1245,7 +1245,8 @@
/* FIXME:
Tell the tty that the link is down */
printk("RFCOMM control ch disconnected (remotely)\n");
- send_ua(rfcomm, tmp_dlci);
+ send_ua(rfcomm, 0);
+ bt_unregister_rfcomm(rfcomm->line);
} else {
rfcomm->dlci[tmp_dlci].state =3D DISCONNECTED;
send_ua(rfcomm, tmp_dlci);
|