--- bluez-5.19.orig/tools/hciattach.c	2014-04-12 12:13:29.000000000 +0200
+++ bluez-5.19/tools/hciattach.c	2014-06-04 16:53:28.000000000 +0200
@@ -101,6 +101,7 @@ int uart_speed(int s)
 		return B230400;
 	case 460800:
 		return B460800;
+#if 0
 	case 500000:
 		return B500000;
 	case 576000:
@@ -135,6 +136,7 @@ int uart_speed(int s)
 	case 4000000:
 		return B4000000;
 #endif
+#endif
 	default:
 		return B57600;
 	}