|
From: Mats F. <ma...@us...> - 2001-06-07 14:33:42
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci.c 1.155 1.156=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Initialize host_controller_buffers
The diff of the modified file(s):
--- hci.c 2001/06/07 06:47:21 1.155
+++ hci.c 2001/06/07 14:33:41 1.156
@@ -266,7 +266,8 @@
=20
/* General HCI controller struct, contains vital information about buffer=
=20
sizes and connections */
-hci_controller hci_ctrl;
+hci_controller hci_ctrl =3D {{0, 0, 0, 0, 0}};
+=09=09=09=20
=20
#ifdef __KERNEL__
#ifdef USE_NCPTIMER
@@ -1838,13 +1839,11 @@
hci_ctrl.nbr_of_connections =3D 0;
=20
#ifdef CONFIG_BLUETOOTH_SUPPORT_BCSP
+=09
+ /* If we use bcsp cmd_num will be set from command status event after
+ syncronizing bcsp */
if (!bt_use_bcsp(-1)) {
hci_ctrl.hc_buf.cmd_num =3D 1;
- } else {
- /* cmd_num will be set from command status event after
- syncronizing bcsp, until then we shouldn't send any
- commands */
- hci_ctrl.hc_buf.cmd_num =3D 0;
}
=20
#else
|