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

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

Merge "Add missing brackets for "if" statement inside BTM_ConfirmReqReply()"

parents 1e0a61f7 87eae3ea
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1537,10 +1537,11 @@ void BTM_ConfirmReqReply(tBTM_STATUS res, BD_ADDR bd_addr)

        if (res == BTM_SUCCESS)
        {
            if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL)
            if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL) {
                p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_AUTHED;
                p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED;
            }
        }

        btsnd_hcic_user_conf_reply (bd_addr, true);
    }