mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
dbus: Rename InterfaceCreated to InterfaceAdded
Change signal name to the one defined in documentation and introspection data.
This commit is contained in:
parent
e376f1193b
commit
b7e8feec68
@ -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
|
||||
*
|
||||
* 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))
|
||||
goto err;
|
||||
|
||||
wpas_dbus_signal_interface_created(wpa_s);
|
||||
wpas_dbus_signal_interface_added(wpa_s);
|
||||
|
||||
os_free(path);
|
||||
return 0;
|
||||
@ -1804,7 +1804,7 @@ static int wpas_dbus_unregister_interface(struct wpa_supplicant *wpa_s)
|
||||
|
||||
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,
|
||||
|
||||
.register_interface = wpas_dbus_register_interface,
|
||||
|
@ -32,7 +32,7 @@ enum wpas_dbus_prop {
|
||||
};
|
||||
|
||||
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);
|
||||
|
||||
int (*register_interface)(struct wpa_supplicant *wpa_s);
|
||||
|
Loading…
Reference in New Issue
Block a user