|
From: Mats F. <ma...@us...> - 2001-06-14 10:34:53
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
sdp.c 1.76 1.77=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Pass the L2CAP MTU to the SDP server
The diff of the modified file(s):
--- sdp.c 2001/06/13 11:52:25 1.76
+++ sdp.c 2001/06/14 10:34:53 1.77
@@ -290,8 +290,9 @@
#endif /* __KERNEL__ */
=20
typedef struct data_struct {
- u32 sdp_con_id;
- s32 len;
+ u16 l2cap_mtu;
+ u16 sdp_con_id;
+ u16 len;
u8 data[0];
} data_struct;
=20
@@ -836,6 +837,7 @@
{
db_hdl =3D (data_struct*)database_query.query;
=20
+ db_hdl->l2cap_mtu =3D l2cap->remote_mtu;
db_hdl->sdp_con_id =3D sdp->id;
db_hdl->len =3D len;
memcpy(db_hdl->data, data, len);
|