summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlaforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-03-09 16:39:05 +0000
committerlaforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-03-09 16:39:05 +0000
commit0b4fdb68e2be3460ff54314f3444c484b8d1fbc7 (patch)
tree87b74829c5eb49b45fe630ada53e01e5e4a5dbb9 /src
parentb76591c41ea9e0bdb19a79ef873760a2932d6245 (diff)
move CTZR into vendor_ti.c, since not all GSM Modems support it (Philipp Zabel)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1307 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src')
-rw-r--r--src/gsmd/gsmd.c2
-rw-r--r--src/gsmd/vendor_ti.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gsmd/gsmd.c b/src/gsmd/gsmd.c
index 1743400..6c72f97 100644
--- a/src/gsmd/gsmd.c
+++ b/src/gsmd/gsmd.c
@@ -76,8 +76,6 @@ int gsmd_initsettings(struct gsmd *gsmd)
rc |= gsmd_simplecmd(gsmd, "AT+CLIP=1");
/* use +COLP: to indicate COLP */
rc |= gsmd_simplecmd(gsmd, "AT+COLP=1");
- /* use +CTZR: to report time zone changes */
- rc |= gsmd_simplecmd(gsmd, "AT+CTZR=1");
/* power on the phone */
rc |= gsmd_simplecmd(gsmd, "AT+CFUN=1");
diff --git a/src/gsmd/vendor_ti.c b/src/gsmd/vendor_ti.c
index e7c5433..da6e254 100644
--- a/src/gsmd/vendor_ti.c
+++ b/src/gsmd/vendor_ti.c
@@ -244,6 +244,8 @@ static int ticalypso_detect(struct gsmd *g)
static int ticalypso_initsettings(struct gsmd *g)
{
int rc;
+ /* use +CTZR: to report time zone changes */
+ rc |= gsmd_simplecmd(gsmd, "AT+CTZR=1");
/* enable %CPI: call progress indication */
rc = gsmd_simplecmd(g, "AT\%CPI=3");
/* enable %CPRI: ciphering indications */
personal git repositories of Harald Welte. Your mileage may vary