notify_ring should not use information from waiting call
---
 src/emulator.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/emulator.c b/src/emulator.c
index 262e782..0f1ceca 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;
 
-- 
1.7.1

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to