1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
openmptcprouter-feeds/netifd/patches/086-allow-setting-device-presence-for-wifi-devices.patch
2022-04-06 20:55:49 +08:00

13 lines
365 B
Diff

diff -Nur a/system-linux.c netifd-2015-12-16/system-linux.c
--- a/system-linux.c 2019-03-21 17:40:26.293950378 -0700
+++ netifd-2015-12-16/system-linux.c 2019-03-21 17:40:43.161949878 -0700
@@ -483,9 +483,6 @@
if (dev->type != &simple_device_type)
return;
- if (add && system_if_force_external(dev->ifname))
- return;
-
device_set_present(dev, add);
}