device: restore cleared flags on device down
authorErik Karlsson <erik.karlsson@genexis.eu>
Tue, 5 Dec 2023 23:22:58 +0000 (00:22 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 4 Jan 2024 11:18:13 +0000 (12:18 +0100)
In case flags have been cleared because settings failed to apply,
restore them when the device is brought down so that they will be
re-attempted the next time the device is brought up.

Signed-off-by: Erik Karlsson <erik.karlsson@genexis.eu>

No differences found