From 8cb06c3efe734a521507cba7b5f0ba206e2476e0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 5 Jul 2012 20:30:46 +0200 Subject: [PATCH] avoid setting device presence for wifi interfaces via hotplug messages --- system-linux.c | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 2.25.1