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

Commit e39cb202 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge changes from topic "revert-1949059-fix_le_audio_reconnect_issue-TGMRFBPVYG"

* changes:
  Revert "Fix local disconnect reason code"
  Revert "le_audio : Fix issue of LE Audio not connecting after re..."
parents 7e8af675 d9d1fa50
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -580,7 +580,6 @@ void bta_gattc_close(tBTA_GATTC_CLCB* p_clcb, const tBTA_GATTC_DATA* p_data) {

  if (p_data->hdr.event == BTA_GATTC_API_CLOSE_EVT) {
    GATT_Disconnect(p_data->hdr.layer_specific);
    cb_data.close.reason = GATT_CONN_TERMINATE_LOCAL_HOST;
    LOG_DEBUG("Local close event client_if:%hu conn_id:%hu reason:%s",
              cb_data.close.client_if, cb_data.close.conn_id,
              gatt_disconnection_reason_text(
+0 −5
Original line number Diff line number Diff line
@@ -1258,11 +1258,6 @@ class LeAudioClientImpl : public LeAudioClient {
        group_remove_node(group, address, true);
      }
      leAudioDevices_.Remove(address);
      return;
    }
    /* Add device into BG connection for non-local initiated disconnection */
    if (reason != GATT_CONN_TERMINATE_LOCAL_HOST) {
      BTA_GATTC_Open(gatt_if_, address, false, false);
    }
  }