commit ff672504adbc9639ef127f5d370e3b8befe728b9
parent 2c0d8911850183ec933fc2c7249cc62b0ff88c15
Author: illiliti <illiliti@protonmail.com>
Date: Wed, 9 Oct 2024 12:09:02 +0300
add a bit more ifdefs
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/network.c b/src/network.c
@@ -1160,8 +1160,10 @@ bool network_bss_add(struct network *network, struct scan_bss *bss)
NULL))
return false;
+#ifdef HAVE_DBUS
l_dbus_property_changed(dbus_get_bus(), network->object_path,
IWD_NETWORK_INTERFACE, "ExtendedServiceSet");
+#endif
/* Done if BSS is not HS20 or we already have network_info set */
if (!bss->hs20_capable)
diff --git a/src/station.c b/src/station.c
@@ -1777,8 +1777,10 @@ static void station_enter_state(struct station *station,
case STATION_STATE_ROAMING:
case STATION_STATE_FT_ROAMING:
case STATION_STATE_FW_ROAMING:
+#ifdef HAVE_DBUS
l_dbus_property_changed(dbus, netdev_get_path(station->netdev),
IWD_STATION_INTERFACE, "ConnectedAccessPoint");
+#endif
if (station->affinity_watch) {
l_dbus_remove_watch(dbus_get_bus(),