Resend not acknowledged command packets

In case a command packet is not acknowledged, resend it as soon as the
target mode enters SYNC or RXON state.