Skip to content

Commit

Permalink
Bluetooth: BAP: Remove bad LOG_ERR from unicast client
Browse files Browse the repository at this point in the history
Remove a bad LOG_ERR that should never have been merged.

Added the valuet that was logged to the debug log statement.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
  • Loading branch information
Thalley authored and carlescufi committed Mar 17, 2023
1 parent ed1cc60 commit cf737b5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions subsys/bluetooth/audio/bap_unicast_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,8 @@ static void unicast_client_ep_iso_connected(struct bt_bap_ep *ep)
return;
}

LOG_DBG("stream %p ep %p dir %s",
stream, ep, bt_audio_dir_str(ep->dir));

LOG_ERR("ep->receiver_ready %u", ep->receiver_ready);
LOG_DBG("stream %p ep %p dir %s receiver_ready %u",
stream, ep, bt_audio_dir_str(ep->dir), ep->receiver_ready);

if (ep->receiver_ready && ep->dir == BT_AUDIO_DIR_SOURCE) {
const int err = unicast_client_send_start(ep);
Expand Down

0 comments on commit cf737b5

Please sign in to comment.