|
From: Peter K. <pk...@us...> - 2001-07-31 18:36:30
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci.c 1.168 1.169=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Cosmetic change.
The diff of the modified file(s):
--- hci.c 2001/07/31 17:05:49 1.168
+++ hci.c 2001/07/31 18:36:29 1.169
@@ -2692,18 +2692,18 @@
}
=20
=20
-void hci_set_max_connections(u8 max_connections)
+void
+hci_set_max_connections(u8 max_connections)
{
bt_max_connections =3D (int)max_connections;
- DSYS("Setting max BT connections to %x\n", bt_max_connections);
+ DSYS("Setting max BT connections to %d\n", bt_max_connections);
hci_update_load_factor();
-
}
=20
=20
/* Change the 3-bit load factor (all bits set is max load, all zero is min=
load).
- * Renew load factor if: Any client is connected, disconnected or if the m=
aximum
- * amount of simultanious connections is altered.=20
+ * Renew load factor if: Any client is connected, disconnected or if the
+ * maximum amount of simultanious connections is altered.=20
*/=20
s32
hci_update_load_factor(void)
@@ -2711,7 +2711,8 @@
static unsigned char load;
=20
/* Makes a rough calculation of the current load */=20
- if ((bt_max_connections =3D=3D hci_ctrl.nbr_of_connections) || (bt_max_co=
nnections =3D=3D 0))
+ if ((bt_max_connections =3D=3D hci_ctrl.nbr_of_connections) ||
+ (bt_max_connections =3D=3D 0))
load =3D 0x07;
else if (bt_max_connections >=3D 4)
load =3D hci_ctrl.nbr_of_connections;
|