gprs: fix bearer dbus signal interface
authorChristopher Vogl <christopher.vogl@hale.at>
Mon, 13 Aug 2012 13:23:58 +0000 (15:23 +0200)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 13 Aug 2012 14:48:50 +0000 (09:48 -0500)
According to the documentation the data bearer property should be
located on interface org.ofono.ConnectionManager.

src/gprs.c

index 0286e52..e379f7b 100644 (file)
@@ -2266,7 +2266,7 @@ void ofono_gprs_bearer_notify(struct ofono_gprs *gprs, int bearer)
        path = __ofono_atom_get_path(gprs->atom);
        value = packet_bearer_to_string(bearer);
        ofono_dbus_signal_property_changed(conn, path,
-                                       OFONO_CONNECTION_CONTEXT_INTERFACE,
+                                       OFONO_CONNECTION_MANAGER_INTERFACE,
                                        "Bearer", DBUS_TYPE_STRING, &value);
 }