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

Commit a81a21ec authored by Hansong Zhang's avatar Hansong Zhang Committed by Automerger Merge Worker
Browse files

L2cap shim: Send the correct disconnect callback am: 2af35998 am: 2b90ca01 am: 1d971b42

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1526266

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I462da09f6183fa0edfc09b504bea25e944483dba
parents 90d9263a 1d971b42
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) {