All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] emulator: fix notify_ring
@ 2012-03-08 15:02 =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis
  2012-03-07 12:17 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis @ 2012-03-08 15:02 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-08 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 15:02 [PATCH] emulator: fix notify_ring =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis
2012-03-07 12:17 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.