diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-07-05 20:30:46 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-07-05 20:30:46 +0200 |
commit | 8cb06c3efe734a521507cba7b5f0ba206e2476e0 (patch) | |
tree | 8ab1e1d3f54e02c1738a97690c6b5af8f18921ef | |
parent | 51b3f21fef7f581a7df6d8a73d8b973f9eb355d2 (diff) |
avoid setting device presence for wifi interfaces via hotplug messages
-rw-r--r-- | system-linux.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |