---
 src/cbs.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/cbs.c b/src/cbs.c
index 36cca48..8bbae21 100644
--- a/src/cbs.c
+++ b/src/cbs.c
@@ -97,8 +97,9 @@ static void cbs_dispatch_base_station_id(struct ofono_cbs 
*cbs, const char *id)
        __ofono_netreg_set_base_station_name(cbs->netreg, id);
 }
 
-static void cbs_dispatch_emergency(struct ofono_cbs *cbs, const char *message,
-                                       gboolean alert, gboolean popup)
+static void cbs_dispatch_warningsystem(struct ofono_cbs *cbs,
+                                       const char *message, gboolean alert,
+                                       gboolean popup)
 {
        DBusConnection *conn = ofono_dbus_get_connection();
        const char *path = __ofono_atom_get_path(cbs->atom);
@@ -108,7 +109,7 @@ static void cbs_dispatch_emergency(struct ofono_cbs *cbs, 
const char *message,
        dbus_bool_t boolean;
 
        signal = dbus_message_new_signal(path, OFONO_CELL_BROADCAST_INTERFACE,
-                                               "EmergencyBroadcast");
+                                               "WarningSystemBroadcast");
        if (signal == NULL)
                return;
 
@@ -237,7 +238,7 @@ void ofono_cbs_notify(struct ofono_cbs *cbs, const unsigned 
char *pdu,
                if (c.message_code & (1 << 8))
                        popup = TRUE;
 
-               cbs_dispatch_emergency(cbs, message, alert, popup);
+               cbs_dispatch_warningsystem(cbs, message, alert, popup);
                goto out;
        }
 
@@ -532,7 +533,7 @@ static GDBusMethodTable cbs_methods[] = {
 static GDBusSignalTable cbs_signals[] = {
        { "PropertyChanged",    "sv"            },
        { "IncomingBroadcast",  "sq"            },
-       { "EmergencyBroadcast", "sa{sv}"        },
+       { "WarningSystemBroadcast", "sa{v}"     },
        { }
 };
 
-- 
1.7.0.4

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to