Skip to content

Commit 1965149

Browse files
Thalleykartben
authored andcommitted
Bluetooth: BAP: Fix compile issue with ep->status.state
The ep->status.state is now just ep->state. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 5be01c9 commit 1965149

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

subsys/bluetooth/audio/bap_unicast_client.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -857,8 +857,8 @@ static void check_and_reset_group_pd(struct bt_bap_unicast_group *group, enum bt
857857
continue;
858858
}
859859

860-
if (stream->ep->status.state == BT_BAP_EP_STATE_IDLE ||
861-
stream->ep->status.state == BT_BAP_EP_STATE_CODEC_CONFIGURED) {
860+
if (stream->ep->state == BT_BAP_EP_STATE_IDLE ||
861+
stream->ep->state == BT_BAP_EP_STATE_CODEC_CONFIGURED) {
862862
continue;
863863
} else {
864864
dir_in_idle_or_config_state = false;
@@ -3331,7 +3331,7 @@ int bt_bap_unicast_client_qos(struct bt_conn *conn, struct bt_bap_unicast_group
33313331
ep = stream->ep;
33323332
dir = ep->dir;
33333333

3334-
if (ep->status.state >= BT_BAP_EP_STATE_QOS_CONFIGURED) {
3334+
if (ep->state >= BT_BAP_EP_STATE_QOS_CONFIGURED) {
33353335
if (dir == BT_AUDIO_DIR_SINK) {
33363336
sink_qos_configured_on_other_conn = true;
33373337
} else if (dir == BT_AUDIO_DIR_SOURCE) {

0 commit comments

Comments
 (0)