|
From: Mattias A. <mat...@us...> - 2001-03-30 12:04:45
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
test.c 1.12 1.13=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
added test_process_cmd (unfinished)
minor changes
The diff of the modified file(s):
--- test.c 2001/02/15 16:27:34 1.12
+++ test.c 2001/03/30 12:04:43 1.13
@@ -196,8 +196,10 @@
D_ERR("test_connect_ind: l2ca_connect_rsp failed\n");=20
return;
}
+#ifdef BT_USERSTACK
printk("'Authorization' pending for 5 secs...\n");
sleep(5);
+#endif
printk("Shutting off authorization pending.\n");
emulate_pending =3D 0;
printk("Sending connect rsp with result =3D success back\n");
@@ -301,7 +303,7 @@
if (!l2ca_remote_conf_done(l2cap)){
/* still haven't sent a pos configure response*/
=20
- if (l2ca_config_rsp(l2cap, 0, NULL, 1 /* ok */)){
+ if (l2ca_config_rsp(l2cap, 0, NULL, CONF_SUCCESS)){
D_ERR("test_config_ind : Configuration response failed\n");
}=20=20=20=20
} else=20
@@ -402,5 +404,18 @@
=20
return l2cap_send_data(tx_buf, con);
}
+
+void test_process_cmd(unsigned char *cmd, s32 size)
+{
+ printk("test_process_cmd\n");
+ print_data("cmd ", cmd, size);
+=20=20
+ /* fixme -- things to do */
+
+ /* init test layer */
+
+=20=20
+}
+
=20
/****************** END OF FILE sdp.c ************************************=
***/
|