|
From: Gordon M. <gm...@us...> - 2001-03-21 23:22:59
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
bluetooth.c 1.154.2.1 1.154.2.2=20=20=20=20=20=20=20
The accompanying log:
--Needed to reverse the LAP bytes.
The diff of the modified file(s):
--- bluetooth.c 2001/03/20 16:42:53 1.154.2.1
+++ bluetooth.c 2001/03/21 23:22:31 1.154.2.2
@@ -716,7 +716,7 @@
=20
// REVISIT The user should specify this...
// --gmcnutt
- u8 lap[3] =3D { 0x9e, 0x8b, 0x33 };
+ u8 lap[3] =3D { 0x33, 0x8b, 0x9e };
u8 num_resp;
int ret;
=20=09=09
@@ -2686,7 +2686,7 @@
#include <linux/types.h>
=20
#define INIT_BAUD B57600
-#define FINAL_BAUD B115200
+#define FINAL_BAUD B57600
#define SERIAL "/dev/ttyS1"
=20
#ifdef __KERNEL__
@@ -2718,7 +2718,7 @@
printk(__FUNCTION__":open '%s' failed\n", SERIAL);
return ser_fd;
}
-
+#if 0
if ((ret =3D ioctl(ser_fd, TCGETA, (unsigned long) &t)) < 0) {
printk(__FUNCTION__":ioctl TCGETA failed\n");
goto exit;
@@ -2736,7 +2736,7 @@
printk(__FUNCTION__":ioctl TCSETA failed\n");
goto exit;
}
-
+#endif
if ((ret =3D ioctl(ser_fd, TIOCSETD, (unsigned long)&bt_ldisc)) < 0) {
printk(__FUNCTION__":ioctl TIOCSETD failed\n");
goto exit;
@@ -2853,9 +2853,9 @@
=20
if ((ret =3D do_initial_serial_port_setup()) < 0) goto exit;
if ((ret =3D initialize_bluetooth_stack()) < 0) goto exit;
- if ((ret =3D do_final_serial_port_setup()) < 0) goto exit;
+// if ((ret =3D do_final_serial_port_setup()) < 0) goto exit;
if ((ret =3D check_bluetooth_address()) < 0) goto exit;
- if ((ret =3D look_for_other_bluetooth_devices()) < 0) goto exit;
+// if ((ret =3D look_for_other_bluetooth_devices()) < 0) goto exit;
=20
/*
* At this point we can either spawn ppp and wait, or we might be
|