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

Commit 2af35998 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

L2cap shim: Send the correct disconnect callback

Tag: #gd-refactor
Test: CtsVerifier
Bug: 141555841
Change-Id: I939f0fa0ea4d66c11ec282bbc693b22c6804b76a
parent 207da6b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -677,7 +677,7 @@ struct LeFixedChannelHelper {
    channel_enqueue_buffer_[device] = nullptr;
    channels_[device]->GetQueueUpEnd()->UnregisterDequeue();
    channels_[device] = nullptr;
    (freg_.pL2CA_FixedConn_Cb)(cid_, address, true, 0, 2);
    (freg_.pL2CA_FixedConn_Cb)(cid_, address, false, 0, BT_TRANSPORT_LE);
  }

  void on_channel_open(std::unique_ptr<le::FixedChannel> channel) {