|
From: Anders J. <and...@us...> - 2003-04-14 16:11:08
|
The following files were modified in linux/drivers/char/bluetooth:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
rfcomm.c 1.139 1.140=20=20=20=20=20=20=20=20=20=20=20=20=20
sdp.c 1.89 1.90=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Respond with a negative reply if we are out of TTY:s in RFCOMM.
Corrected possible problem with get_free_sdp_con.
The diff of the modified file(s):
--- rfcomm.c 6 Mar 2003 16:04:05 -0000 1.139
+++ rfcomm.c 14 Apr 2003 16:11:03 -0000 1.140
@@ -843,9 +843,9 @@
D_CTRL("rfcomm_connect_ind\n");
if (!(rfcomm =3D get_new_rfcomm_con())) {
D_ERR("rfcomm_connect_ind: error: couldn't find free tty\n");
-
- /* fixme -- respond neg ! */
-
+ if(l2ca_connect_rsp(l2cap, RES_NOSRC, STAT_NOINFO)) {
+ D_ERR("rfcomm_connect_ind: l2ca_connect_rsp failed\n");
+ }
return;
} else {
if (l2ca_connect_rsp(l2cap, RES_SUCCESS, STAT_NOINFO)) {
--- sdp.c 1 Aug 2002 16:15:11 -0000 1.89
+++ sdp.c 14 Apr 2003 16:11:05 -0000 1.90
@@ -1052,7 +1052,7 @@
}
=20
if (i =3D=3D MAX_NBR_SDP) {
- return 0;
+ return NULL;
}
=20
return &sdp_con_list[i];
|