mesh: reset sequence numbers on transition from iv update active to normal

This commit is contained in:
Matthias Ringwald 2019-07-05 18:00:32 +02:00
parent c520adb916
commit 93bb2d2c93

View File

@ -1482,6 +1482,8 @@ static void mesh_access_secure_network_beacon_handler(uint8_t packet_type, uint1
}
} else {
if (beacon_iv_update_active == 0){
// " At the point of transition, the node shall reset the sequence number to 0x000000."
mesh_lower_transport_set_seq(0);
mesh_iv_update_completed();
}
}