Bluetooth: ISO: Add STATE infix for ISO state enum

Change from BT_ISO_<state> to BT_ISO_STATE_<state>
to make the value more descriptive.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2022-02-22 15:30:30 +01:00 committed by Carles Cufí
commit 9e862411b3
6 changed files with 33 additions and 33 deletions

View file

@ -363,7 +363,7 @@ static void unicast_client_ep_qos_state(struct bt_audio_ep *ep,
stream->qos->pd);
/* Disconnect ISO if connected */
if (stream->iso->state == BT_ISO_CONNECTED) {
if (stream->iso->state == BT_ISO_STATE_CONNECTED) {
bt_audio_stream_disconnect(stream);
}