[PATCH 4/4] Make use of ofono bus name when watching its signals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.dentz-von@xxxxxxxxx>

---
 audio/telephony-ofono.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/audio/telephony-ofono.c b/audio/telephony-ofono.c
index 9c20112..693207c 100644
--- a/audio/telephony-ofono.c
+++ b/audio/telephony-ofono.c
@@ -1069,13 +1069,13 @@ int telephony_init(void)
 
 	connection = dbus_bus_get(DBUS_BUS_SYSTEM, NULL);
 
-	registration_watch = g_dbus_add_signal_watch(connection, NULL, NULL,
-					OFONO_NETWORKREG_INTERFACE,
+	registration_watch = g_dbus_add_signal_watch(connection, OFONO_BUS_NAME,
+					NULL, OFONO_NETWORKREG_INTERFACE,
 					"PropertyChanged",
 					handle_registration_property_changed,
 					NULL, NULL);
 
-	voice_watch = g_dbus_add_signal_watch(connection, NULL, NULL,
+	voice_watch = g_dbus_add_signal_watch(connection, OFONO_BUS_NAME, NULL,
 					OFONO_VCMANAGER_INTERFACE,
 					"PropertyChanged",
 					handle_vcmanager_property_changed,
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux