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 | 14d4c6fe56a3f7b1524d15cc03565196f0fdcc95 (patch) | |
tree | 52020da99b749cb7705ca3628613f6a4364b96a6 /package/comgt | |
parent | cb498898091e866f1a72cdfd6a3c0a696bce1dfe (diff) | |
download | master-187ad058-14d4c6fe56a3f7b1524d15cc03565196f0fdcc95.tar.gz master-187ad058-14d4c6fe56a3f7b1524d15cc03565196f0fdcc95.tar.bz2 master-187ad058-14d4c6fe56a3f7b1524d15cc03565196f0fdcc95.zip |
[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
Diffstat (limited to 'package/comgt')
-rw-r--r-- | package/comgt/Makefile | 2 | ||||
-rw-r--r-- | package/comgt/files/3g.usb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/package/comgt/Makefile b/package/comgt/Makefile index ef0164ea35..ae8aa668ba 100644 --- a/package/comgt/Makefile +++ b/package/comgt/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=comgt PKG_VERSION:=0.32 -PKG_RELEASE:=19 +PKG_RELEASE:=20 PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz PKG_SOURCE_URL:=@SF/comgt 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 |