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

Commit 463aa4b8 authored by Chris Manton's avatar Chris Manton Committed by Andre Eisenbach
Browse files

Demote bta_av_link_role_ok error level to info

Change-Id: I4399432c9071614fc610d9de084028e48aeaf8fd
parent 5c92c908
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -22,11 +22,13 @@
 *
 ******************************************************************************/

#include "bt_target.h"
#if defined(BTA_AV_INCLUDED) && (BTA_AV_INCLUDED == TRUE)

#include <assert.h>
#include <string.h>

#include "bt_target.h"
#include "osi/include/log.h"

#if defined(BTA_AV_INCLUDED) && (BTA_AV_INCLUDED == TRUE)
#include "bta_av_int.h"
#include "utl.h"
#include "l2c_api.h"
@@ -1120,7 +1122,9 @@ BOOLEAN bta_av_link_role_ok(tBTA_AV_SCB *p_scb, UINT8 bits)

    if (BTM_GetRole(p_scb->peer_addr, &role) == BTM_SUCCESS)
    {
        APPL_TRACE_ERROR("bta_av_link_role_ok hndl:x%x role:%d, conn_audio:x%x, bits:%d, features:x%x", p_scb->hndl, role, bta_av_cb.conn_audio, bits, bta_av_cb.features);
        LOG_INFO("%s hndl:x%x role:%d conn_audio:x%x bits:%d features:x%x",
                __func__, p_scb->hndl, role, bta_av_cb.conn_audio, bits,
                bta_av_cb.features);
        if (BTM_ROLE_MASTER != role && (A2D_BitsSet(bta_av_cb.conn_audio) > bits || (bta_av_cb.features & BTA_AV_FEAT_MASTER)))
        {
            if (bta_av_cb.features & BTA_AV_FEAT_MASTER)