summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-11-12 09:39:37 +0000
committertick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-11-12 09:39:37 +0000
commit54119f964d25ebeef9a0f300c5e7edb7f0269a23 (patch)
tree613b8156816cd7db40b9c3f398eabbd320bb58b4
parent2d4b954be95ad5bef23f9a0068c9c97a8f4037c4 (diff)
gsmd: Adding hang up control(Andrew & Tick)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3391 99fdad57-331a-0410-800a-d7fa5415bdb3
-rw-r--r--src/gsmd/gsmd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gsmd/gsmd.c b/src/gsmd/gsmd.c
index 51b4f2c..65254ed 100644
--- a/src/gsmd/gsmd.c
+++ b/src/gsmd/gsmd.c
@@ -184,10 +184,9 @@ static int gsmd_initsettings2(struct gsmd *gsmd)
/* configure message format as PDU mode*/
/* FIXME: TEXT mode support!! */
rc |= gsmd_simplecmd(gsmd, "AT+CMGF=0");
-#if 0
- /* Select TE character set */
- rc |= gsmd_simplecmd(gsmd, "AT+CSCS=\"UCS2\"");
-#endif
+ /* ATH disconnects voice calls */
+ rc |= gsmd_simplecmd(gsmd, "AT+CVHU=0");
+
sms_cb_init(gsmd);
personal git repositories of Harald Welte. Your mileage may vary