Loading system/btif/src/btif_sock_l2cap.cc +5 −0 Original line number Diff line number Diff line Loading @@ -254,6 +254,11 @@ static void btsock_l2cap_free_l(l2cap_socket* sock) { } if ((sock->channel >= 0) && (sock->server)) { BTA_JvFreeChannel(sock->channel, BTA_JV_CONN_TYPE_L2CAP_LE); if (!sock->fixed_chan) { VLOG(2) << __func__ << ": stopping L2CAP LE COC server channel " << sock->channel; BTA_JvL2capStopServer(sock->channel, sock->id); } } } else { // Only call if we are non server connections Loading Loading
system/btif/src/btif_sock_l2cap.cc +5 −0 Original line number Diff line number Diff line Loading @@ -254,6 +254,11 @@ static void btsock_l2cap_free_l(l2cap_socket* sock) { } if ((sock->channel >= 0) && (sock->server)) { BTA_JvFreeChannel(sock->channel, BTA_JV_CONN_TYPE_L2CAP_LE); if (!sock->fixed_chan) { VLOG(2) << __func__ << ": stopping L2CAP LE COC server channel " << sock->channel; BTA_JvL2capStopServer(sock->channel, sock->id); } } } else { // Only call if we are non server connections Loading