diff options
author | Frédéric Danis <frederic.danis@linux.intel.com> | 2012-03-08 16:02:30 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-03-07 06:16:51 -0600 |
commit | 033e518cd418c0a51d523fce4a0595909722fb18 (patch) | |
tree | f050a55ec53f1b53f70e7cd3a2f998ab8498f4e4 /src/emulator.c | |
parent | ebac438d9325c34bfe22322c6234e25c86e125d7 (diff) | |
download | ofono-033e518cd418c0a51d523fce4a0595909722fb18.tar.bz2 |
emulator: fix notify_ring
notify_ring should not use information from waiting call
Diffstat (limited to 'src/emulator.c')
-rw-r--r-- | src/emulator.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/emulator.c b/src/emulator.c index 262e782c..0f1ceca0 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -421,13 +421,6 @@ static gboolean notify_ring(void *user_data) c = find_call_with_status(em, CALL_STATUS_INCOMING); - /* - * In case of waiting call becoming an incoming call, call status - * change may not have been done yet, so try to find waiting call too - */ - if (c == NULL) - c = find_call_with_status(em, CALL_STATUS_WAITING); - if (c == NULL) return TRUE; |