fix(bt): Fixed blocking during LMP packet type negotiation on ESP32-S31

In the Bluetooth connections with some smartphones, communication can possibly be blocked
during packet type negotation, when ESP32-S31 attempts to finalize the ACL-U transmission
and waits for the last Tx ACL-U packet to be transmitted, but peer device rejects the
packet with FLOW=STOP in its packet, thus causing a deadlock.

Closes https://github.com/espressif/esp-idf/issues/18797
This commit is contained in:
Wang Mengyang
2026-07-22 16:41:08 +08:00
parent cfb35e1a4a
commit 53b357790b