diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-09 19:46:38 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-09 19:46:38 +0000 |
commit | 56dbeb781e963c12fc367aae068f989049cf1102 (patch) | |
tree | 7f4260cd9f6c54dc43a64173a502090e1d16cd63 /package/comgt/files | |
parent | aa2f4d4c8d753a90136a165ff70e15a1eb090183 (diff) | |
download | upstream-56dbeb781e963c12fc367aae068f989049cf1102.tar.gz upstream-56dbeb781e963c12fc367aae068f989049cf1102.tar.bz2 upstream-56dbeb781e963c12fc367aae068f989049cf1102.zip |
comgt: fix 3g redialling if dongle is physically reattached (#11567, #12008)
SVN-Revision: 33350
Diffstat (limited to 'package/comgt/files')
-rw-r--r-- | package/comgt/files/3g.usb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/comgt/files/3g.usb b/package/comgt/files/3g.usb index 1dabc0c98f..fd6837e650 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 |