All of lore.kernel.org
 help / color / mirror / Atom feed
* two patches for voicecall.c
@ 2009-05-27  7:46 Li, Minjun
  2009-05-27 12:58 ` Leandro Dorileo
  2009-05-27 15:03 ` Denis Kenzior
  0 siblings, 2 replies; 3+ messages in thread
From: Li, Minjun @ 2009-05-27  7:46 UTC (permalink / raw)
  To: ofono

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

Hi Folks,
I have made 2 patches for minor bugs in functions of voicecall_busy and dial_callback in /src/voicecall.c.
The first one is to use the function pointer set_udub to replace release_specific.
The second one is to delete the repeated calling of voicecall_create in dial_callback function, since it was called in previous line in the same function.

Best Regards,
Minjun


[-- Attachment #2: 0001-Modify-the-function-pointer-in-voicecall_busy-to-set.patch --]
[-- Type: application/octet-stream, Size: 760 bytes --]

From 3229d282264b8ae3f34d437467c6e84cb3d2335a Mon Sep 17 00:00:00 2001
From: Minjun Li <minjun.li@intel.com>
Date: Tue, 26 May 2009 15:28:00 +0800
Subject: [PATCH] Modify the function pointer in voicecall_busy to set_udub

---
 src/voicecall.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/voicecall.c b/src/voicecall.c
index bbc7bf5..73d8889 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -198,7 +198,7 @@ static DBusMessage *voicecall_busy(DBusConnection *conn,
 		call->status != CALL_STATUS_WAITING)
 		return dbus_gsm_failed(msg);
 
-	if (!voicecalls->ops->release_specific)
+	if (!voicecalls->ops->set_udub)
 		return dbus_gsm_not_implemented(msg);
 
 	if (voicecalls->flags & VOICECALLS_FLAG_PENDING)
-- 
1.6.0.3


[-- Attachment #3: 0002-Delete-the-repeated-calling-of-voicecall_creat-funct.patch --]
[-- Type: application/octet-stream, Size: 769 bytes --]

From 9e8f442e14b7aa761e75f7d8f52636c60036626f Mon Sep 17 00:00:00 2001
From: Minjun Li <minjun.li@intel.com>
Date: Tue, 26 May 2009 15:37:22 +0800
Subject: [PATCH] Delete the repeated calling of voicecall_creat function

---
 src/voicecall.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/voicecall.c b/src/voicecall.c
index 73d8889..8318143 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -1444,7 +1444,7 @@ static void dial_callback(const struct ofono_error *error, void *data)
 		}
 
 		ofono_debug("Registering new call: %d", call->id);
-		voicecall_dbus_register(voicecall_create(modem, call));
+		voicecall_dbus_register(v);
 
 		calls->call_list = g_slist_insert_sorted(calls->call_list, v,
 					call_compare);
-- 
1.6.0.3


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

end of thread, other threads:[~2009-05-27 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27  7:46 two patches for voicecall.c Li, Minjun
2009-05-27 12:58 ` Leandro Dorileo
2009-05-27 15:03 ` 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.