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

Commit 9e9f498b authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

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

parents b7cbe4d5 19e9579e
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));
    }