|
From: Alain P. <apa...@us...> - 2002-07-22 17:23:57
|
The following file was modified in apps/bluetooth/experimental:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
bt_vendor.c 1.35 1.36=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Setting speed for the CSR is not big-endian compatible. If you use this fun=
ction
on a big-endian platform, it will crash. I tried to correct this, but it do=
esn't
work for the moment. So I added a define to avoid this temporary.
The diff of the modified file(s):
--- bt_vendor.c 3 Jun 2002 10:07:28 -0000 1.35
+++ bt_vendor.c 22 Jul 2002 17:23:56 -0000 1.36
@@ -339,6 +339,7 @@
return 0;
}
=20
+
/*=20
* Switches host interface in CSR HW (H4<->BCSP)=20
*/
@@ -516,6 +517,7 @@
=20
if (speedstr)
{
+#ifndef CONFIG_BLUETOOTH_SD_SPECIFIC /* PAL - The setting of the speed doe=
sn't work in big-endian */
/* Only try to set the speed if the CSR firmware is new enough
(temporarily setting the speed does not work correctly in 9.x) */
if (firmware >=3D 90)
@@ -534,6 +536,7 @@
{
syslog(LOG_INFO, "Did not set baudrate in CSR module as its firmware=
is too old (%d)", firmware);
}
+#endif /* CONFIG_BLUETOOTH_SD_SPECIFIC */
}
}
=20
|