OSDN Git Service

HCI: don't abort on timeout
[android-x86/system-bt.git] / hci / src / hci_layer.cc
index 1cd3a49..1eb3427 100644 (file)
@@ -477,10 +477,6 @@ static void hci_timeout_abort(void) {
 
   LOG_ERROR("%s restarting the Bluetooth process.", __func__);
   hci_close_firmware_log_file(hci_firmware_log_fd);
-
-  // We shouldn't try to recover the stack from this command timeout.
-  // If it's caused by a software bug, fix it. If it's a hardware bug, fix it.
-  abort();
 }
 
 static void hci_root_inflamed_abort() {