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

Commit 23b35a6c authored by Hui Peng's avatar Hui Peng Committed by Gerrit Code Review
Browse files

Merge "Fix a regression in tSMP_CB::reset" into main

parents c148cf66 189e73f2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -942,7 +942,8 @@ void tSMP_CB::reset() {
  alarm_cancel(this->smp_rsp_timer_ent);
  alarm_cancel(this->delayed_auth_timer_ent);

  init(init_security_mode);
  *this = {};
  this->init_security_mode = init_security_mode;

  this->p_callback = p_callback;
  this->init_security_mode = init_security_mode;