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:
parent
6115cf0a4d
commit
a61cbb8182
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue