From 0b4fdb68e2be3460ff54314f3444c484b8d1fbc7 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 9 Mar 2007 16:39:05 +0000 Subject: 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 --- src/gsmd/gsmd.c | 2 -- src/gsmd/vendor_ti.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gsmd') 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 */ -- cgit v1.2.3