summaryrefslogtreecommitdiffstats
path: root/package/comgt/files
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-22 14:55:17 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-22 14:55:17 +0000
commitbd185a1c754ecf1478266675db4a7e3ada455b9c (patch)
treec2e0dd4e5c819215ee7789099cc888998a83d342 /package/comgt/files
parenta485afe4d4b3b4f2b2650c9b17b5cd548d928b79 (diff)
[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
Diffstat (limited to 'package/comgt/files')
-rw-r--r--package/comgt/files/3g.sh2
1 files changed, 1 insertions, 1 deletions
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";;