summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-12-09 00:17:10 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-09 00:17:21 +0200
commit7cd1de5d319deaa3398b19269f266fcb6bd2bc84 (patch)
tree06065d4def1c6e88f5fafc5467c0f464f5f9c11b /audio
parent0fb2d7ceaeb992c13571137ffd60d2b03f7420de (diff)
Fix call hold response
Respond with a proper error in case of a failure.
Diffstat (limited to 'audio')
-rw-r--r--audio/telephony-maemo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 3a4314bc..997e4652 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -755,7 +755,7 @@ void telephony_call_hold_req(void *telephony_device, const char *cmd)
if (err)
telephony_call_hold_rsp(telephony_device,
- CME_ERROR_NONE);
+ CME_ERROR_AG_FAILURE);
else
telephony_call_hold_rsp(telephony_device, CME_ERROR_NONE);
}