Skip to content

Commit 1302e95

Browse files
Thalleycarlescufi
authored andcommitted
Bluetooth: Audio: Modify log of non-found stream for config state callback
In the unicast client, it is possible for the unicast server to send a notification for ASE when it is in the codec configured state after a reconnect. In that case, the unicast client does not have a coupling between the ASE and the audio stream. This caused a BT_ERR to trigger, but it is not really an error, but rather a state that the current unicast client cannot handle, so the BT_ERR has been replaced with a BT_WARN. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
1 parent fa13e02 commit 1302e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/audio/unicast_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ static void unicast_client_ep_config_state(struct bt_audio_ep *ep,
518518

519519
stream = ep->stream;
520520
if (stream == NULL) {
521-
BT_ERR("No stream active for endpoint");
521+
BT_WARN("No stream active for endpoint");
522522
return;
523523
}
524524

0 commit comments

Comments
 (0)