Branch: refs/heads/979547 Home: https://github.com/bluez/bluez Commit: f7155d0d84ba62d7de1ab785ecda7dc817613dbf https://github.com/bluez/bluez/commit/f7155d0d84ba62d7de1ab785ecda7dc817613dbf 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 Signed-off-by: Yang Li <yang.li@xxxxxxxxxxx> To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications