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

Commit 0d1594a4 authored by Pomai Ahlo's avatar Pomai Ahlo
Browse files

RFCOMM MX SM logs: Documentation fix

Adjust placement and content of a confusing comment

Bug: 358176338
Test: m com.android.btservices
Flag: DOCS_ONLY
Change-Id: Ib62e283d5029d2bb35a03af3ead481c5f47a4737
parent 551dc422
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -379,8 +379,9 @@ void rfc_mx_sm_state_wait_sabme(tRFC_MCB* p_mcb, tRFC_MX_EVENT event, void* p_da
      return;

    case RFC_MX_EVENT_SABME:
      /* if we gave up outgoing connection request */
      if (p_mcb->pending_lcid) {
        // Channel collision case - at this point we gave up as initiator
        // and are trying again as acceptor
        p_mcb->pending_lcid = 0;

        rfc_send_ua(p_mcb, RFCOMM_MX_DLCI);