device: simplify external device settings handling
authorFelix Fietkau <nbd@nbd.name>
Wed, 4 Sep 2024 10:09:38 +0000 (12:09 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2024 08:12:07 +0000 (10:12 +0200)
commit61c606d6e66b132f602135e0f0fda5f532b588e9
tree306806e26e4aa60196f7d14dc8e02fe6c8456da0
parentcd2a7964f2c09994c09388a76e1a9c6aef4297a2
device: simplify external device settings handling

Use the normal set_state function, but leave out the system_if_up/down part.
Fixes a race condition that prevented properly applying device settings

Signed-off-by: Felix Fietkau <nbd@nbd.name>
device.c