summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-11-16 11:19:23 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-11-16 11:19:23 -0600
commit534d7f89d276f2f683e9abad9c5a424fa30c5142 (patch)
treef55b2c6d31bf3d3a50d3757bcde1e34b085df307
parent957fc90d37ba305a64ab299930d53b6e9ec65f40 (diff)
downloadofono-534d7f89d276f2f683e9abad9c5a424fa30c5142.tar.bz2
Fix: Update the status to held properly
-rw-r--r--drivers/hfpmodem/voicecall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index 91a18444..2caf8ab2 100644
--- a/drivers/hfpmodem/voicecall.c
+++ b/drivers/hfpmodem/voicecall.c
@@ -319,7 +319,7 @@ static void atd_cb(gboolean ok, GAtResult *result, gpointer user_data)
if (call->status != 0)
continue;
- call->status = 2;
+ call->status = CALL_STATUS_HELD;
ofono_voicecall_notify(vc, call);
}