|
From: Mats F. <ma...@us...> - 2001-06-18 12:49:32
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
l2cap.c 1.109 1.110=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Use get_lcon instead of get_rcon, since remote cid isn't unik
The diff of the modified file(s):
--- l2cap.c 2001/06/14 10:52:14 1.109
+++ l2cap.c 2001/06/18 12:49:31 1.110
@@ -857,8 +857,8 @@
D_STATE(__FUNCTION__ ": disconnection request id %d\n",=20
req->id);
=20
- if ((con =3D get_rcon(discreq->src_cid)) =3D=3D NULL) {
- D_STATE("not connected... discard!\n");
+ if ((con =3D get_lcon(discreq->dst_cid)) =3D=3D NULL) {
+ DSYS(__FUNCTION__"Disconnecting NULL object!\n");
return;
}
=20
@@ -1443,7 +1443,7 @@
l2cap_con *con;=20
=20
/* temp link down */
- DSYS("lp_disconnect_ind : Connection handle %d disconnected\n",
+ DSYS(__FUNCTION__": Connection handle %d disconnected\n",
con_hdl);
=20
/* find & notify/remove l2cap connection(s) on this hci handle */
|