diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-23 18:17:03 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-08 16:10:57 +0200 |
commit | 647553cd3484eb5b7e0e7225e4bc91b9e441630e (patch) | |
tree | ea7139881487ca016c06fbf1d7724b2a779ed56f | |
parent | 28ebefc71b70611380323749d995ff0b4ab7aa8a (diff) |
Fix call hold/unhold behavior
-rw-r--r-- | audio/telephony-maemo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c index 971f5a59..2a4b6502 100644 --- a/audio/telephony-maemo.c +++ b/audio/telephony-maemo.c @@ -640,9 +640,8 @@ void telephony_call_hold_req(void *telephony_device, const char *cmd) err = split_call(call); break; } - call = find_call_with_status(CSD_CALL_STATUS_ACTIVE); - if (call) - err = hold_call(call); + foreach_call_with_status(CSD_CALL_STATUS_ACTIVE, hold_call); + foreach_call_with_status(CSD_CALL_STATUS_HOLD, unhold_call); break; case '3': call = find_call_with_status(CSD_CALL_STATUS_HOLD); |