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

Commit 2010ad5f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "L2CAP: Clear local id and remote cid in release_ccb"

parents 1a727c84 f900477c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1574,6 +1574,9 @@ void l2cu_release_ccb(tL2C_CCB* p_ccb) {

  /* Flag as not in use */
  p_ccb->in_use = false;
  // Clear Remote CID and Local Id
  p_ccb->remote_cid = 0;
  p_ccb->local_id = 0;

  /* If no channels on the connection, start idle timeout */
  if ((p_lcb) && p_lcb->in_use) {