system/bt
修订版 | 02971ebc694d74174e32edf859e0eb7eea2a07c2 (tree) |
---|---|
时间 | 2020-04-14 23:54:20 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
HCI: don't abort on timeout
Timeout is normal. Especially when the device is suspending.
Don't abort it stupidly.
@@ -444,10 +444,6 @@ static void fragmenter_transmit_finished(BT_HDR* packet, | ||
444 | 444 | static void hci_timeout_abort(void) { |
445 | 445 | LOG_ERROR(LOG_TAG, "%s restarting the Bluetooth process.", __func__); |
446 | 446 | 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(); | |
451 | 447 | } |
452 | 448 | |
453 | 449 | static void hci_root_inflamed_abort(uint8_t error_code, |