[PATCH] ofono API refactoring: Rename netreg Operator property to Name

Daniel Wagner daniel.wagner at bmw-carit.de
Wed Apr 14 01:51:51 PDT 2010


for ofono version >0.20
---
 plugins/ofono.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/ofono.c b/plugins/ofono.c
index 2ad01f2..10cc6d6 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -229,7 +229,7 @@ static void set_network_name_reply(DBusPendingCall *call, void *user_data)
 		dbus_message_iter_next(&entry);
 		dbus_message_iter_recurse(&entry, &value);
 
-		if (g_str_equal(key, "Operator") == TRUE) {
+		if (g_str_equal(key, "Name") == TRUE) {
 			const char *name;
 
 			dbus_message_iter_get_basic(&value, &name);
-- 
1.6.6.1




More information about the connman mailing list