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

Commit 61c7e561 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "btif: Return after closing the socket" into qt-dev

parents 96dcbb27 9fa108e2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -719,6 +719,7 @@ static void on_l2cap_data_ind(tBTA_JV* evt, uint32_t id) {
               << ": unable to push data to socket - closing  fixed channel";
      BTA_JvL2capCloseLE(sock->handle);
      btsock_l2cap_free_l(sock);
      return;
    }

  } else {
@@ -737,6 +738,7 @@ static void on_l2cap_data_ind(tBTA_JV* evt, uint32_t id) {
                   << ": unable to push data to socket - closing channel";
          BTA_JvL2capClose(sock->handle);
          btsock_l2cap_free_l(sock);
          return;
        }
      }
    }