diff options
author | Harald Welte <laforge@gnumonks.org> | 2013-10-13 18:24:19 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-10-13 18:24:19 +0200 |
commit | 4f7067bee006a52b3ae0338fb430c0a3b8b2ac9a (patch) | |
tree | d391e8b5b9a3c36150660d04d4b5138b850fc849 /src | |
parent | 2aa67b809f5b06fb86a6f8dfc556bfb7c9169729 (diff) |
wavecom: Don't do AT+CFUN=1 in wavecom_inittsettings
wavecom_initsettings is called _after_ the global initsettings,
i.e. we would loose anything that gsmd core has configured before
the AT+CFUN. This is particularly the case for AT+CMGF=0 (PDU mode).
Diffstat (limited to 'src')
-rw-r--r-- | src/gsmd/vendor_wavecom.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gsmd/vendor_wavecom.c b/src/gsmd/vendor_wavecom.c index dc309ab..644cc48 100644 --- a/src/gsmd/vendor_wavecom.c +++ b/src/gsmd/vendor_wavecom.c @@ -283,7 +283,6 @@ static int wavecom_initsettings(struct gsmd *g) if (rc < 0) return rc; - rc |= gsmd_simplecmd(g, "AT+CFUN=1"); /* use +WREGC to enter "spy mode" (no transmit / registration) */ rc |= gsmd_simplecmd(g, "AT+WREGC=0"); rc |= gsmd_simplecmd(g, "AT+CCED=1,3"); |