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

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

Merge "HearingAid: Fix the data channel open fail case during connecting"

parents 9b9ae133 4b4fe801
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1332,9 +1332,8 @@ class HearingAidImpl : public HearingAid {
        LOG(INFO) << __func__
                  << ": GAP_EVT_CONN_CLOSED: " << hearingDevice->address
                  << ", playback_started=" << hearingDevice->playback_started
                  << ", connecting_actively="
                  << hearingDevice->connecting_actively;
        if (hearingDevice->connecting_actively) {
                  << ", accepting_audio=" << hearingDevice->accepting_audio;
        if (!hearingDevice->accepting_audio) {
          /* Disconnect connection when data channel is not available */
          BTA_GATTC_Close(hearingDevice->conn_id);
        } else {