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

Commit 07969fbe authored by Dorin Drimus's avatar Dorin Drimus Committed by Gerrit Code Review
Browse files

Merge "Fix HOGP issue when encryption failed"

parents e83f46d1 01cb43cf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1014,7 +1014,8 @@ void bta_hh_security_cmpl(tBTA_HH_DEV_CB* p_cb,
              bta_hh_status_text(p_cb->status).c_str(),
              btm_status_text(p_cb->btm_status).c_str());
    if (!(p_cb->status == BTA_HH_ERR_SEC &&
          p_cb->btm_status == BTM_ERR_PROCESSING))
          (p_cb->btm_status == BTM_ERR_PROCESSING ||
          p_cb->btm_status == BTM_FAILED_ON_SECURITY)))
      bta_hh_le_api_disc_act(p_cb);
    }
}