From: Felix Fietkau Date: Thu, 5 Jul 2012 18:30:46 +0000 (+0200) Subject: avoid setting device presence for wifi interfaces via hotplug messages X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8cb06c3efe734a521507cba7b5f0ba206e2476e0;p=oweals%2Fnetifd.git avoid setting device presence for wifi interfaces via hotplug messages --- diff --git a/system-linux.c b/system-linux.c index 3372a66..eb26d20 100644 --- a/system-linux.c +++ b/system-linux.c @@ -235,6 +235,9 @@ found: if (dev->type != &simple_device_type) return; + if (add && system_if_force_external(dev->ifname)) + return; + device_set_present(dev, add); }