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

Commit d9be30e5 authored by Jack He's avatar Jack He
Browse files

Cert: Log L2CAP CID on connection success

Bug: 307877650
Test: Test: m bluetooth_stack_with_facade && gd/cert/run --clean
L2capTest

Change-Id: I4177000d4e7f391f0c5183d5d2557c3535cdb29c
parent 97a1a10c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -214,6 +214,9 @@ class CertL2cap(Closable, IHasBehaviors):
                                   response.get().GetDestinationCid(), self._acl.acl_stream, self._acl,
                                   self.control_channel, fcs)
        self.scid_to_channel[scid] = channel
        logging.debug("Opened channel for PSM 0x{:X} SCID 0x{:X} DCID 0x{:X}".format(
            psm, scid,
            response.get().GetDestinationCid()))
        while not self.pending_configuration_requests.empty():
            l2cap_control_view = self.pending_configuration_requests.get_nowait()
            logging.info("Handling deferred configuration requests")