comgt: handle ttyHS* devices in usb hotplug, fix typo (#9046)

SVN-Revision: 26175
This commit is contained in:
Jo-Philipp Wich 2011-03-15 09:09:05 +00:00
parent 8d08f4473b
commit d0ac4ba89a
2 changed files with 2 additions and 2 deletions

View 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

View 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