diff options
author | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-03-09 16:39:05 +0000 |
---|---|---|
committer | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-03-09 16:39:05 +0000 |
commit | 0b4fdb68e2be3460ff54314f3444c484b8d1fbc7 (patch) | |
tree | 87b74829c5eb49b45fe630ada53e01e5e4a5dbb9 | |
parent | b76591c41ea9e0bdb19a79ef873760a2932d6245 (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
-rw-r--r-- | src/gsmd/gsmd.c | 2 | ||||
-rw-r--r-- | src/gsmd/vendor_ti.c | 2 |
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 */ |