summaryrefslogtreecommitdiffstats
path: root/src/lib/connections/mobile_ppp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/connections/mobile_ppp')
-rw-r--r--src/lib/connections/mobile_ppp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/connections/mobile_ppp b/src/lib/connections/mobile_ppp
index 785457d..40750d8 100644
--- a/src/lib/connections/mobile_ppp
+++ b/src/lib/connections/mobile_ppp
@@ -64,7 +64,7 @@ TIMEOUT 3
GPRSonly) printf "\^SYSCFG=13,1,3fffffff,0,0";;
GPRSpref) printf "\^SYSCFG=2,1,3fffffff,0,0";;
esac)'
-'OK-AT-OK' 'AT+CGDCONT=1,"IP",$(quote_word "$AccessPointName")'
+${AccessPointName:+'OK-AT-OK' 'AT+CGDCONT=1,"IP",$(quote_word "$AccessPointName")'}
'OK' 'ATDT${PhoneNumber:-*99#}'
TIMEOUT 30
CONNECT ''