|
From: Peter K. <pk...@us...> - 2001-11-15 11:20:27
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
sdp.c 1.82 1.83=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Handle l2cap->upper_con being NULL in sdp_disconnect_ind().
The diff of the modified file(s):
--- sdp.c 2001/11/14 11:05:19 1.82
+++ sdp.c 2001/11/15 11:20:26 1.83
@@ -758,9 +758,10 @@
sdp_con *sdp;
D_MISC(__FUNCTION__ ", remote cid : %d\n", l2cap->remote_cid);
=20=20=20=20
- sdp =3D (sdp_con*) l2cap->upper_con;
+ if ((sdp =3D (sdp_con*) l2cap->upper_con)) {
sdp->state =3D SDP_DISCONNECTED;
sdp->l2cap =3D NULL;
+ }
=20
l2ca_disconnect_rsp(l2cap);
}
|