dbus: Rename InterfaceCreated to InterfaceAdded

Change signal name to the one defined in documentation and
introspection data.
This commit is contained in:
Witold Sowa 2010-01-01 12:49:27 +02:00 committed by Jouni Malinen
parent e376f1193b
commit b7e8feec68
2 changed files with 6 additions and 6 deletions

View file

@ -115,14 +115,14 @@ err:
/** /**
* wpas_dbus_signal_interface_created - Send a interface created signal * wpas_dbus_signal_interface_added - Send a interface created signal
* @wpa_s: %wpa_supplicant network interface data * @wpa_s: %wpa_supplicant network interface data
* *
* Notify listeners about creating new interface * Notify listeners about creating new interface
*/ */
static void wpas_dbus_signal_interface_created(struct wpa_supplicant *wpa_s) static void wpas_dbus_signal_interface_added(struct wpa_supplicant *wpa_s)
{ {
wpas_dbus_signal_interface(wpa_s, "InterfaceCreated", TRUE); wpas_dbus_signal_interface(wpa_s, "InterfaceAdded", TRUE);
} }
@ -1764,7 +1764,7 @@ static int wpas_dbus_register_interface(struct wpa_supplicant *wpa_s)
obj_desc)) obj_desc))
goto err; goto err;
wpas_dbus_signal_interface_created(wpa_s); wpas_dbus_signal_interface_added(wpa_s);
os_free(path); os_free(path);
return 0; return 0;
@ -1804,7 +1804,7 @@ static int wpas_dbus_unregister_interface(struct wpa_supplicant *wpa_s)
static struct wpas_dbus_callbacks callbacks = static struct wpas_dbus_callbacks callbacks =
{ {
.signal_interface_created = wpas_dbus_signal_interface_created, .signal_interface_added = wpas_dbus_signal_interface_added,
.signal_interface_removed = wpas_dbus_signal_interface_removed, .signal_interface_removed = wpas_dbus_signal_interface_removed,
.register_interface = wpas_dbus_register_interface, .register_interface = wpas_dbus_register_interface,

View file

@ -32,7 +32,7 @@ enum wpas_dbus_prop {
}; };
struct wpas_dbus_callbacks { struct wpas_dbus_callbacks {
void (*signal_interface_created)(struct wpa_supplicant *wpa_s); void (*signal_interface_added)(struct wpa_supplicant *wpa_s);
void (*signal_interface_removed)(struct wpa_supplicant *wpa_s); void (*signal_interface_removed)(struct wpa_supplicant *wpa_s);
int (*register_interface)(struct wpa_supplicant *wpa_s); int (*register_interface)(struct wpa_supplicant *wpa_s);