sm: restart random address updates after power cycle

This commit is contained in:
Matthias Ringwald 2019-08-27 08:49:37 +02:00
parent 5457e7085b
commit 1bf086dae6

View File

@ -3081,6 +3081,9 @@ static void sm_event_packet_handler (uint8_t packet_type, uint16_t channel, uint
sm_validate_er_ir(); sm_validate_er_ir();
dkg_state = DKG_CALC_IRK; dkg_state = DKG_CALC_IRK;
} }
// restart random address updates after power cycle
gap_random_address_set_mode(gap_random_adress_type);
} }
break; break;