From bd185a1c754ecf1478266675db4a7e3ada455b9c Mon Sep 17 00:00:00 2001
From: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 22 Sep 2012 14:55:17 +0000
Subject: [package] comgt: perform case insensitive match when probing for
 Huawei devices (#12039)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33507 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/comgt/Makefile    | 2 +-
 package/comgt/files/3g.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'package')

diff --git a/package/comgt/Makefile b/package/comgt/Makefile
index ae8aa668b..6cb802c60 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:=20
+PKG_RELEASE:=21
 
 PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=@SF/comgt
diff --git a/package/comgt/files/3g.sh b/package/comgt/files/3g.sh
index 9e44d0665..2ed74b4c0 100644
--- a/package/comgt/files/3g.sh
+++ b/package/comgt/files/3g.sh
@@ -52,7 +52,7 @@ proto_3g_setup() {
 				export MODE="AT_OPSYS=${CODE}"
 			elif echo "$cardinfo" | grep -q "Sierra Wireless"; then
 				SIERRA=1
-			elif echo "$cardinfo" | grep -q huawei; then
+			elif echo "$cardinfo" | grep -qi huawei; then
 				case "$service" in
 					umts_only) CODE="14,2";;
 					gprs_only) CODE="13,1";;
-- 
cgit v1.2.3