|
From: Peter K. <pk...@us...> - 2001-10-16 14:43:17
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci_vendor.c 1.58 1.59=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Added support for baud rates lower than 57600 for Ericsson
(thanks to Alain Paschoud for this).
The diff of the modified file(s):
--- hci_vendor.c 2001/10/05 12:25:46 1.58
+++ hci_vendor.c 2001/10/16 11:13:09 1.59
@@ -156,6 +156,21 @@
c_pkt.opcode =3D hci_put_opcode(ERICSSON_SET_UART_BAUD_RATE, MANUFACTURER=
_SPEC);
c_pkt.len =3D 1;
switch (baudrate) {
+ case 9600:
+ c_pkt.data[0] =3D 0x14;
+ break;
+ case 14400:
+ c_pkt.data[0] =3D 0x05;
+ break;
+ case 19200:
+ c_pkt.data[0] =3D 0x13;
+ break;
+ case 28800:
+ c_pkt.data[0] =3D 0x04;
+ break;
+ case 38400:
+ c_pkt.data[0] =3D 0x12;
+ break;
case 57600:
c_pkt.data[0] =3D 0x03;
break;
|