Branch: refs/heads/master Home: https://github.com/bluez/bluez Commit: 168377c0c8e8d36ba291e3cef5fe5185d7ef0be2 https://github.com/bluez/bluez/commit/168377c0c8e8d36ba291e3cef5fe5185d7ef0be2 Author: Yang Li <yang.li@xxxxxxxxxxx> Date: 2025-07-07 (Mon, 07 Jul 2025) Changed paths: M src/shared/bap.c Log Message: ----------- shared/bap: Add stream state check in stream_disable Add BT_BAP_STREAM_STATE_CONFIG state check so that stream_disable() is a no-op when the stream is in CONFIG state. This prevents unexpected state transitions or redundant operations during cleanup. Error trace: bluetoothd[2313]: src/shared/bap.c:stream_io_disconnected() stream 0x1f9fc20 io disconnected bluetoothd[2313]: src/shared/bap.c:bap_ucast_set_state() stream 0x1f9fc20 dir 0x01: releasing -> config bluetoothd[2313]: src/shared/bap.c:stream_notify() stream 0x1f9fc20 state 1 bluetoothd[2313]: profiles/audio/transport.c:bap_state_changed() stream 0x1f9fc20: releasing(6) -> config(1) ... bluetoothd[2313]: src/shared/bap.c:stream_disable() stream 0x1f9fc20 bluetoothd[2313]: src/shared/bap.c:bap_ucast_set_state() stream 0x1f9fc20 dir 0x01: config -> qos To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications