mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Component/bt: fix accept specified sec auth error
This commit is contained in:
parent
93fcc418fe
commit
34064b4302
@ -596,6 +596,7 @@ void smp_proc_pair_cmd(tSMP_CB *p_cb, tSMP_INT_DATA *p_data)
|
|||||||
}
|
}
|
||||||
reason = SMP_PAIR_AUTH_FAIL;
|
reason = SMP_PAIR_AUTH_FAIL;
|
||||||
smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason);
|
smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -634,6 +635,7 @@ void smp_proc_pair_cmd(tSMP_CB *p_cb, tSMP_INT_DATA *p_data)
|
|||||||
}
|
}
|
||||||
reason = SMP_PAIR_AUTH_FAIL;
|
reason = SMP_PAIR_AUTH_FAIL;
|
||||||
smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason);
|
smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1395,6 +1397,7 @@ void smp_process_io_response(tSMP_CB *p_cb, tSMP_INT_DATA *p_data)
|
|||||||
}
|
}
|
||||||
reason = SMP_PAIR_AUTH_FAIL;
|
reason = SMP_PAIR_AUTH_FAIL;
|
||||||
smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason);
|
smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user