OSDN Git Service
(root)
/
android-x86
/
system-bluetooth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
System/bluetooth/bludroid:Remove the 3 second delay after starting bluetoothd
[android-x86/system-bluetooth.git]
/
bluedroid
/
bluetooth.c
diff --git
a/bluedroid/bluetooth.c
b/bluedroid/bluetooth.c
index
b953082
..
ec029ef
100644
(file)
--- a/
bluedroid/bluetooth.c
+++ b/
bluedroid/bluetooth.c
@@
-36,7
+36,6
@@
#define HCI_DEV_ID 0
#endif
-#define HCID_START_DELAY_SEC 3
#define HCID_STOP_DELAY_USEC 500000
#define MIN(x,y) (((x)<(y))?(x):(y))
@@
-183,7
+182,6
@@
int bt_enable() {
LOGE("Failed to start bluetoothd");
goto out;
}
- sleep(HCID_START_DELAY_SEC);
ret = 0;