diff options
-rw-r--r-- | device.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -61,6 +61,9 @@ void device_unlock(void) static int set_device_state(struct device *dev, bool state) { + if (dev->external) + return 0; + if (state) system_if_up(dev); else |