summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-03-15 09:09:05 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-03-15 09:09:05 +0000
commitd0ac4ba89a765a6c198006ade98a8d46de5ad7ad (patch)
tree9c81435bd6627cb6669daa57f7e5fae8dd0f9d11
parent8d08f4473bd0b20f7bbac803534d9768eab90d21 (diff)
downloadmtk-20170518-d0ac4ba89a765a6c198006ade98a8d46de5ad7ad.zip
mtk-20170518-d0ac4ba89a765a6c198006ade98a8d46de5ad7ad.tar.gz
mtk-20170518-d0ac4ba89a765a6c198006ade98a8d46de5ad7ad.tar.bz2
comgt: handle ttyHS* devices in usb hotplug, fix typo (#9046)
SVN-Revision: 26175
-rw-r--r--package/comgt/Makefile2
-rw-r--r--package/comgt/files/3g.usb2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/comgt/Makefile b/package/comgt/Makefile
index c3cf8ed..7c120cb 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:=7
+PKG_RELEASE:=8
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 ecaa96f..d5a38b8 100644
--- a/package/comgt/files/3g.usb
+++ b/package/comgt/files/3g.usb
@@ -36,7 +36,7 @@ if [ "$ACTION" = add ]; then
esac
local tty
- for tty in /sys/$DEVPATH/ttyUSB* /sys/$DEVPATH/tty/ttyACM*;; do
+ for tty in /sys/$DEVPATH/ttyUSB* /sys/$DEVPATH/tty/ttyACM* /sys/$DEVPATH/tty/ttyHS*; do
[ -d "$tty" ] || continue
config_foreach find_3g_iface interface "$tty"
done