comgt: handle ttyHS* devices in usb hotplug, fix typo (#9046)
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 15 Mar 2011 09:09:05 +0000 (09:09 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 15 Mar 2011 09:09:05 +0000 (09:09 +0000)
SVN-Revision: 26175

package/comgt/Makefile
package/comgt/files/3g.usb

index c3cf8ed..7c120cb 100644 (file)
@@ -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
index ecaa96f..d5a38b8 100644 (file)
@@ -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