Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8b246c6 authored by En-Shuo Hsu's avatar En-Shuo Hsu Committed by Gerrit Code Review
Browse files

Merge "Floss: fix return value of btif_av_get_peer_sep"

parents 8e0e6dd9 d6a86101
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3334,7 +3334,7 @@ uint8_t btif_av_get_peer_sep(void) {
  BtifAvPeer* peer = btif_av_find_active_peer();
  if (peer == nullptr) {
    LOG_INFO("No active sink or source peer found");
    return AVDT_TSEP_SNK;
    return AVDT_TSEP_INVALID;
  }

  uint8_t peer_sep = peer->PeerSep();