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

Commit b45c78e6 authored by Hyundo Moon's avatar Hyundo Moon
Browse files

bta_ag_sco: Handle BTA_AG_SCO_CN_DONE_E in BTA_AG_SCO_CLOSE_XFER_ST

Bug: 270515566
Test: Builds successfully
Change-Id: I7de3dc279a4094cedb11cf8e38e71f33f366850f
parent d23ff8ad
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1018,6 +1018,7 @@ static void bta_ag_sco_event(tBTA_AG_SCB* p_scb, uint8_t event) {
          p_sco->state = BTA_AG_SCO_SHUTTING_ST;
          break;

        case BTA_AG_SCO_CN_DONE_E:
        case BTA_AG_SCO_CONN_CLOSE_E: {
          /* closed sco; place old sco in listen mode,
             take current sco out of listen, and