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

Commit d9d1fa50 authored by Chris Manton's avatar Chris Manton Committed by Martin Stjernholm
Browse files

Revert "Fix local disconnect reason code"

Revert submission 1949059-fix_le_audio_reconnect_issue

Reason for revert: b/216553247
Reverted Changes:
Iac25b1f9c:le_audio : Fix issue of LE Audio not connecting af...
I964dc7480:Fix local disconnect reason code

Test: bluetooth_le_audio_client_test (module-abi=x86_64) passes: https://android-build.googleplex.com/builds/tests/view?invocationId=I91700010012326977&testResultId=TR51027873086851525

Change-Id: I69d4cd696cdd8323d760d866f0a540bd7e9036de
parent b89df0a3
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(