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

SVN-Revision: 26175
master
Jo-Philipp Wich 14 years ago
parent 8d08f4473b
commit d0ac4ba89a
  1. 2
      package/comgt/Makefile
  2. 2
      package/comgt/files/3g.usb

@ -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

@ -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

Loading…
Cancel
Save