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

Commit 9caa21a5 authored by Hui Peng's avatar Hui Peng Committed by Automerger Merge Worker
Browse files
parents a678a4e0 82bd5350
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -48,9 +48,10 @@
 *
 ******************************************************************************/
void SMP_Init(uint8_t init_security_mode) {
  memset(&smp_cb, 0, sizeof(tSMP_CB));

  smp_cb.init_security_mode = init_security_mode;

  memset(&smp_cb, 0, sizeof(tSMP_CB));
  smp_cb.smp_rsp_timer_ent = alarm_new("smp.smp_rsp_timer_ent");
  smp_cb.delayed_auth_timer_ent = alarm_new("smp.delayed_auth_timer_ent");