packages/utils/bluez-utils/patches/200-uart-speed.patch
florian d84ce95ff5 Update bluez-utils to 3.36 (#3765)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-19 18:00:19 +00:00

41 lines
681 B
Diff

--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -111,20 +111,37 @@
return B230400;
case 460800:
return B460800;
+/* FIX: Not all platform support this high serial speed
+ claudyus84 @gamil.com
+*/
+#ifdef B500000
case 500000:
return B500000;
+#endif
+#ifdef B576000
case 576000:
return B576000;
+#endif
+#ifdef B921600
case 921600:
return B921600;
+#endif
+#ifdef B1000000
case 1000000:
return B1000000;
+#endif
+#ifdef B1152000
case 1152000:
return B1152000;
+#endif
+#ifdef B1500000
case 1500000:
return B1500000;
+#endif
+#ifdef B2000000
case 2000000:
return B2000000;
+#endif
#ifdef B2500000
case 2500000:
return B2500000;