From 7bf316150093392b33e0764d3843d23dcd92120e Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 9 Sep 2012 19:46:38 +0000 Subject: [package] comgt: fix 3g redialling if dongle is physically reattached (#11567, #12008) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33350 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/comgt/files/3g.usb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/comgt/files') diff --git a/package/comgt/files/3g.usb b/package/comgt/files/3g.usb index 1dabc0c98..fd6837e65 100644 --- a/package/comgt/files/3g.usb +++ b/package/comgt/files/3g.usb @@ -10,8 +10,8 @@ find_3g_iface() { config_get proto "$cfg" proto [ "$proto" = 3g ] || return 0 - local dev - config_get dev "$cfg" device + # bypass state vars here because 00-netstate could clobber .device + local dev=$(uci_get network "$cfg" device) if [ "${dev##*/}" = "${tty##*/}" ]; then if [ "$ACTION" = add ]; then -- cgit v1.2.3