• 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

Revisión2b00838da58b9a3ef9690e615f0a72cbe76242fb (tree)
Tiempo2019-11-14 13:21:27
AutorChih-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.

Cambiar Resumen

Diferencia incremental

--- a/hci/src/hci_layer.cc
+++ b/hci/src/hci_layer.cc
@@ -469,10 +469,6 @@ static void fragmenter_transmit_finished(BT_HDR* packet,
469469 static void hci_timeout_abort(void* unused_data) {
470470 LOG_ERROR(LOG_TAG, "%s restarting the Bluetooth process.", __func__);
471471 hci_close_firmware_log_file(hci_firmware_log_fd);
472-
473- // We shouldn't try to recover the stack from this command timeout.
474- // If it's caused by a software bug, fix it. If it's a hardware bug, fix it.
475- abort();
476472 }
477473
478474 // Print debugging information and quit. Don't dereference original_wait_entry.