• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/bt


Commit MetaInfo

Revisãof9d2d09093bc19b2555c4462f7344cf01c394006 (tree)
Hora2020-12-30 07:22:32
AutorChih-Wei Huang <cwhuang@linu...>
CommiterMauro Rossi

Mensagem de Log

HCI: don't abort on timeout

Timeout is normal. Especially when the device is suspending.
Don't abort it stupidly.

Mudança Sumário

Diff

--- a/hci/src/hci_layer.cc
+++ b/hci/src/hci_layer.cc
@@ -470,10 +470,6 @@ static void fragmenter_transmit_finished(BT_HDR* packet,
470470 static void hci_timeout_abort(void) {
471471 LOG_ERROR(LOG_TAG, "%s restarting the Bluetooth process.", __func__);
472472 hci_close_firmware_log_file(hci_firmware_log_fd);
473-
474- // We shouldn't try to recover the stack from this command timeout.
475- // If it's caused by a software bug, fix it. If it's a hardware bug, fix it.
476- abort();
477473 }
478474
479475 static void hci_root_inflamed_abort() {