comgt: perform case insensitive match when probing for Huawei devices (#12039)

SVN-Revision: 33507
This commit is contained in:
Jo-Philipp Wich 2012-09-22 14:55:17 +00:00
parent da94d4ac29
commit 09fe127a14
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=comgt PKG_NAME:=comgt
PKG_VERSION:=0.32 PKG_VERSION:=0.32
PKG_RELEASE:=20 PKG_RELEASE:=21
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
PKG_SOURCE_URL:=@SF/comgt PKG_SOURCE_URL:=@SF/comgt

View file

@ -52,7 +52,7 @@ proto_3g_setup() {
export MODE="AT_OPSYS=${CODE}" export MODE="AT_OPSYS=${CODE}"
elif echo "$cardinfo" | grep -q "Sierra Wireless"; then elif echo "$cardinfo" | grep -q "Sierra Wireless"; then
SIERRA=1 SIERRA=1
elif echo "$cardinfo" | grep -q huawei; then elif echo "$cardinfo" | grep -qi huawei; then
case "$service" in case "$service" in
umts_only) CODE="14,2";; umts_only) CODE="14,2";;
gprs_only) CODE="13,1";; gprs_only) CODE="13,1";;