OSDN Git Service

Revert "Delay 200 ms after powering up the BT chip.."
authorJaikumar Ganesh <jaikumar@google.com>
Tue, 28 Sep 2010 00:51:36 +0000 (17:51 -0700)
committerJaikumar 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

index 2384ae4..b953082 100644 (file)
@@ -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");