diff options
Diffstat (limited to 'audio/telephony-maemo.c')
-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); |