Update bluez-utils to 3.35 (#3725)
[openwrt/svn-archive/archive.git] / utils / bluez-utils / patches / 200-uart-speed.patch
1 diff -Naur bluez-utils-3.35.ori/tools/hciattach.c bluez-utils-3.35/tools/hciattach.c
2 --- bluez-utils-3.35.ori/tools/hciattach.c 2008-05-20 18:14:39.000000000 +0200
3 +++ bluez-utils-3.35/tools/hciattach.c 2008-07-06 13:01:28.000000000 +0200
4 @@ -108,20 +108,37 @@
5 return B230400;
6 case 460800:
7 return B460800;
8 +/* FIX: Not all platform support this high serial speed
9 + claudyus84 @gamil.com
10 +*/
11 +#ifdef B500000
12 case 500000:
13 return B500000;
14 +#endif
15 +#ifdef B576000
16 case 576000:
17 return B576000;
18 +#endif
19 +#ifdef B921600
20 case 921600:
21 return B921600;
22 +#endif
23 +#ifdef B1000000
24 case 1000000:
25 return B1000000;
26 +#endif
27 +#ifdef B1152000
28 case 1152000:
29 return B1152000;
30 +#endif
31 +#ifdef B1500000
32 case 1500000:
33 return B1500000;
34 +#endif
35 +#ifdef B2000000
36 case 2000000:
37 return B2000000;
38 +#endif
39 #ifdef B2500000
40 case 2500000:
41 return B2500000;