OSDN Git Service
(root)
/
android-x86
/
system-bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cd1a14
)
Revert "Delay 200 ms after powering up the BT chip.."
author
Jaikumar Ganesh
<jaikumar@google.com>
Tue, 28 Sep 2010 00:51:36 +0000
(17:51 -0700)
committer
Jaikumar Ganesh
<jaikumar@google.com>
Tue, 28 Sep 2010 00:51:36 +0000
(17:51 -0700)
This should be done either in rfkill driver or in the firmware load file.
This reverts commit
82b2b955c801eb69eddf736676b8116c7c821e3a
.
bluedroid/bluetooth.c
patch
|
blob
|
history
diff --git
a/bluedroid/bluetooth.c
b/bluedroid/bluetooth.c
index
2384ae4
..
b953082
100644
(file)
--- a/
bluedroid/bluetooth.c
+++ b/
bluedroid/bluetooth.c
@@
-155,9
+155,6
@@
int bt_enable() {
if (set_bluetooth_power(1) < 0) goto out;
- // Wait for some time so that BT chip stabilizes
- usleep(200000); // 200 ms delay
-
LOGI("Starting hciattach daemon");
if (property_set("ctl.start", "hciattach") < 0) {
LOGE("Failed to start hciattach");