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

Commit f2873472 authored by Charlie Boutier's avatar Charlie Boutier
Browse files

SMP: Fix incoming smp pairing request

Bug: 267198689
Test: avatar_runner example.py config.yml
Change-Id: I16db14eed172eae82599237ad24fb50be135ecac
parent 7c4b40d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -573,7 +573,7 @@ void smp_proc_pair_cmd(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {
      p_cb->local_i_key = p_cb->peer_i_key;
      p_cb->local_r_key = p_cb->peer_r_key;

      p_cb->cb_evt = SMP_SEC_REQUEST_EVT;
      p_cb->cb_evt =  SMP_IO_CAP_REQ_EVT;
    } else /* update local i/r key according to pairing request */
    {
      /* pairing started with this side (peripheral) sending Security Request */