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

Commit 19e9579e authored by Chris Manton's avatar Chris Manton
Browse files

stack::sec PIN callback should use stored security device name field

Bug: 347356083
Test: m .
Flag: EXEMPT, Mechanical Refactor
Change-Id: I709ce7697535ac8621b0eca93eef1666868293de
parent 6891fa14
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2374,7 +2374,7 @@ void btm_sec_rmt_name_request_complete(const RawAddress* p_bd_addr,
      log::verbose("calling pin_callback");
      btm_sec_cb.pairing_flags |= BTM_PAIR_FLAGS_PIN_REQD;
      (*btm_sec_cb.api.p_pin_callback)(
          p_dev_rec->bd_addr, p_dev_rec->dev_class, p_bd_name,
          p_dev_rec->bd_addr, p_dev_rec->dev_class, p_dev_rec->sec_bd_name,
          (p_dev_rec->sec_rec.required_security_flags_for_pairing &
           BTM_SEC_IN_MIN_16_DIGIT_PIN));
    }