aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/netifd/files/etc/hotplug.d
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2018-05-14 00:05:43 +0300
committerHans Dedecker <dedeckeh@gmail.com>2018-06-01 15:02:41 +0200
commit91b5b2e20d531584918c62a6c6cd046f0580f50a (patch)
treec0bf02a4987a27406eab48b3f6cb685125e419b6 /package/network/config/netifd/files/etc/hotplug.d
parent0777a3e773ef61059d6aae91aae6006257cba5fa (diff)
downloadupstream-91b5b2e20d531584918c62a6c6cd046f0580f50a.tar.gz
upstream-91b5b2e20d531584918c62a6c6cd046f0580f50a.tar.bz2
upstream-91b5b2e20d531584918c62a6c6cd046f0580f50a.zip
netifd: drop conflicting 'device' interface property
Do not set device runtime property on interfaces in the hotplug handler and in fixup_interfaces(). This property conflicts with device option in several proto handlers (mainly QMI and other WWAN/3G protos) and does not seem to be used anywhere. Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
Diffstat (limited to 'package/network/config/netifd/files/etc/hotplug.d')
-rw-r--r--package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate b/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate
index 023025cd1a..71ccb01915 100644
--- a/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate
+++ b/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate
@@ -1,7 +1,6 @@
[ ifup = "$ACTION" ] && {
uci_toggle_state network "$INTERFACE" up 1
[ -n "$DEVICE" ] && {
- uci_toggle_state network "$INTERFACE" device "$(uci -q get network.$INTERFACE.ifname)"
uci_toggle_state network "$INTERFACE" ifname "$DEVICE"
}
}