Fix DR reset
With ADR enabled, the DR got reset to default when packet transmission mode changed between confirmed and unconfirmed mode.
With ADR enabled, the DR got reset to default when packet transmission mode changed between confirmed and unconfirmed mode.