Skip to content

Commit

Permalink
add a bit more ifdefs
Browse files Browse the repository at this point in the history
  • Loading branch information
illiliti committed Oct 9, 2024
1 parent 2c0d891 commit ff67250
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions src/station.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit ff67250

Please sign in to comment.