mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-01 01:13:23 +00:00
sm: improve transition from SM_PH3_DISTRIBUTE_KEYS to SM_PH3_RECEIVE_KEYS
This commit is contained in:
parent
9e18aef5ab
commit
e94757aefe
@ -3066,8 +3066,13 @@ static void sm_run(void){
|
||||
#endif
|
||||
|
||||
case SM_PH3_DISTRIBUTE_KEYS:
|
||||
// send next key
|
||||
if (setup->sm_key_distribution_send_set != 0){
|
||||
sm_run_distribute_keys(connection);
|
||||
}
|
||||
|
||||
// more to send?
|
||||
if (setup->sm_key_distribution_send_set != 0){
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user