|
From: Mats F. <ma...@us...> - 2001-02-27 14:59:08
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
l2cap.c 1.82 1.83=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Added l2cap_register_default_upper function, to be used by TCI
The diff of the modified file(s):
--- l2cap.c 2001/02/16 14:25:59 1.82
+++ l2cap.c 2001/02/27 15:00:16 1.83
@@ -322,6 +322,12 @@
prot->next_layer =3D NULL;
}
=20
+void=20
+l2cap_register_default_upper(struct protocol_layer *prot)
+{
+ memcpy(&default_protocol, prot, sizeof(protocol_layer));
+}
+
s32=20
l2cap_shutdown(void)
{
@@ -341,6 +347,8 @@
}
=20
/* is called with a struct of functions to handle incoming data */
+
+
s32=20
l2cap_register_upper(u16 psm, struct protocol_layer *prot)=20
{
@@ -1456,6 +1464,7 @@
return;
}=20
=20
+=09
get_upper(con->psm)->receive_data(con, data, len);
}
=20
@@ -2428,8 +2437,6 @@
layers add header data */
return hci_send_data(tx);
}
-
-
=20=20
/*******************************************************************/
/* (A3) l2cap to l2cap data transmission */
|