Commit: 52bda9d45572ab4629bf2f686616c0398f489dad
Parent: 87ad4c66b934b1280bc8843589856313ef1bc912
Author: Pauli Virtanen <pav@iki.fi>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-06-17 21:57:57
Tree: 14e2a9af944e25b30eaf63da78c78d80e5c5cb97

shared/bap: make BT_BAP_* direction defines valid bitmasks The directions appear to be intended as bitmasks, as bt_bap_stream_io_dir() will bitwise or linked stream directions. Fix the defines to be separate bits. Fixes confusion due to BT_BAP_BCAST_SOURCE == BT_BAP_SINK|BT_BAP_SOURCE, which causes e.g. unicast transports to be in PENDING state after QoS although this does not make sense for BAP unicast Client.

Diffstat

M src/shared/bap-defs.h | 8 ++++- - - -

1 files changed, 4 insertions(+), 4 deletions(-)

View Full Diff | Patch