• 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

Revision02971ebc694d74174e32edf859e0eb7eea2a07c2 (tree)
Time2020-04-14 23:54:20
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

HCI: don't abort on timeout

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

Change Summary

Incremental Difference

--- a/hci/src/hci_layer.cc
+++ b/hci/src/hci_layer.cc
@@ -444,10 +444,6 @@ static void fragmenter_transmit_finished(BT_HDR* packet,
444444 static void hci_timeout_abort(void) {
445445 LOG_ERROR(LOG_TAG, "%s restarting the Bluetooth process.", __func__);
446446 hci_close_firmware_log_file(hci_firmware_log_fd);
447-
448- // We shouldn't try to recover the stack from this command timeout.
449- // If it's caused by a software bug, fix it. If it's a hardware bug, fix it.
450- abort();
451447 }
452448
453449 static void hci_root_inflamed_abort(uint8_t error_code,