]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
dbus: Remove unused wpas_dbus_sta_signal_prop_changed()
authorJouni Malinen <j@w1.fi>
Sat, 22 Feb 2025 09:05:14 +0000 (11:05 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 22 Feb 2025 09:05:14 +0000 (11:05 +0200)
This does not seem to have been ever used.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new.c

index ff7e003cbe93f934ecf097c7f4666ab7bc85255b..4269454e18ba35896ae26f9823d2cd86b9642c4b 100644 (file)
@@ -2603,41 +2603,6 @@ void wpas_dbus_bss_signal_prop_changed(struct wpa_supplicant *wpa_s,
 }
 
 
-/**
- * wpas_dbus_sta_signal_prop_changed - Signals change of STA property
- * @wpa_s: %wpa_supplicant network interface data
- * @property: indicates which property has changed
- * @address: unique BSS identifier
- *
- * Sends PropertyChanged signals with path, interface, and arguments depending
- * on which property has changed.
- */
-void wpas_dbus_sta_signal_prop_changed(struct wpa_supplicant *wpa_s,
-                                      enum wpas_dbus_bss_prop property,
-                                      u8 address[ETH_ALEN])
-{
-       char path[WPAS_DBUS_OBJECT_PATH_MAX];
-       char *prop;
-
-       switch (property) {
-       case WPAS_DBUS_STA_PROP_ADDRESS:
-               prop = "Address";
-               break;
-       default:
-               wpa_printf(MSG_ERROR, "dbus: %s: Unknown Property value %d",
-                          __func__, property);
-               return;
-       }
-
-       os_snprintf(path, WPAS_DBUS_OBJECT_PATH_MAX,
-                   "%s/" WPAS_DBUS_NEW_STAS_PART "/" COMPACT_MACSTR,
-                   wpa_s->dbus_new_path, MAC2STR(address));
-
-       wpa_dbus_mark_property_changed(wpa_s->global->dbus, path,
-                                      WPAS_DBUS_NEW_IFACE_STA, prop);
-}
-
-
 /**
  * wpas_dbus_signal_debug_level_changed - Signals change of debug param
  * @global: wpa_global structure