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

Commit b428cb20 authored by Chris Manton's avatar Chris Manton
Browse files

legacy: null pointer check stack/rfcomm/rfc_utils::rfc_sec_check_complete

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: I8f40a31f4c5ef2d9644659346f5f078adf585f44
parent d84ff358
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -320,6 +320,7 @@ void rfcomm_mcb_timer_timeout(void* data) {
void rfc_sec_check_complete(UNUSED_ATTR const RawAddress* bd_addr,
                            UNUSED_ATTR tBT_TRANSPORT transport,
                            void* p_ref_data, tBTM_STATUS res) {
  CHECK(p_ref_data != nullptr);
  tPORT* p_port = (tPORT*)p_ref_data;

  /* Verify that PORT is still waiting for Security to complete */