system/bt
リビジョン | 2b00838da58b9a3ef9690e615f0a72cbe76242fb (tree) |
---|---|
日時 | 2019-11-14 13:21:27 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
HCI: don't abort on timeout
Timeout is normal. Especially when the device is suspending.
Don't abort it stupidly.
@@ -469,10 +469,6 @@ static void fragmenter_transmit_finished(BT_HDR* packet, | ||
469 | 469 | static void hci_timeout_abort(void* unused_data) { |
470 | 470 | LOG_ERROR(LOG_TAG, "%s restarting the Bluetooth process.", __func__); |
471 | 471 | 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(); | |
476 | 472 | } |
477 | 473 | |
478 | 474 | // Print debugging information and quit. Don't dereference original_wait_entry. |