Bluetooth: ASCS: Add no-op case for setting releasing state

The releasing state does not trigger any stream ops,
but will be a no-op case to avoid the error log
message.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2022-04-21 14:08:40 +02:00 committed by Carles Cufí
commit a61cbb8182

View file

@ -133,6 +133,8 @@ void ascs_ep_set_state(struct bt_audio_ep *ep, uint8_t state)
ops->disabled(stream);
}
break;
case BT_AUDIO_EP_STATE_RELEASING:
break; /* no-op*/
default:
BT_ERR("Invalid state: %u", state);
break;