projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51b3f21
)
avoid setting device presence for wifi interfaces via hotplug messages
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 5 Jul 2012 18:30:46 +0000
(20:30 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 5 Jul 2012 18:30:46 +0000
(20:30 +0200)
system-linux.c
patch
|
blob
|
history
diff --git
a/system-linux.c
b/system-linux.c
index 3372a6672580871bc1c461d27958bde37f07f4ee..eb26d20187e2023c50231d9a0d9df189092c05b3 100644
(file)
--- 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);
}