aboutsummaryrefslogtreecommitdiffstats
path: root/package/comgt/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/comgt/files')
-rw-r--r--package/comgt/files/3g.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/comgt/files/3g.sh b/package/comgt/files/3g.sh
index b5da54c44d..9e44d06650 100644
--- a/package/comgt/files/3g.sh
+++ b/package/comgt/files/3g.sh
@@ -52,6 +52,13 @@ 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
+ case "$service" in
+ umts_only) CODE="14,2";;
+ gprs_only) CODE="13,1";;
+ *) CODE="2,2";;
+ esac
+ export MODE="AT^SYSCFG=${CODE},3FFFFFFF,2,4"
fi
if [ -n "$pincode" ]; then