synchronizePacket() calculates incorrect timer setting when skip slot is enabled

Description

There is a bug in synchronizePacket() when skip slot is
enabled. The newPeriod value calculated in this function isn't taking into account that the current timer period might be something other than ieee154e_vars.slotDuration.

synchronizeAck() is correct because it gets the current timer period (adjusted for skip slot) and then adds the time correction to it.

Environment

None

Assignee

Tengfei Chang

Reporter

john rubis

Labels

None

Story Points

None

Fix versions

Priority

Major
Configure