system/bt
Revisão | f9d2d09093bc19b2555c4462f7344cf01c394006 (tree) |
---|---|
Hora | 2020-12-30 07:22:32 |
Autor | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Mauro Rossi |
HCI: don't abort on timeout
Timeout is normal. Especially when the device is suspending.
Don't abort it stupidly.
@@ -470,10 +470,6 @@ static void fragmenter_transmit_finished(BT_HDR* packet, | ||
470 | 470 | static void hci_timeout_abort(void) { |
471 | 471 | LOG_ERROR(LOG_TAG, "%s restarting the Bluetooth process.", __func__); |
472 | 472 | 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(); | |
477 | 473 | } |
478 | 474 | |
479 | 475 | static void hci_root_inflamed_abort() { |