summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-wifi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-wifi.c')
-rw-r--r--src/network/networkd-wifi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-wifi.c b/src/network/networkd-wifi.c
index ee63c3ec96..bc1d79adce 100644
--- a/src/network/networkd-wifi.c
+++ b/src/network/networkd-wifi.c
@@ -287,7 +287,7 @@ int manager_genl_process_nl80211_mlme(sd_netlink *genl, sd_netlink_message *mess
* To make SSID= or other WiFi related settings in [Match] section work, let's try to
* reconfigure the interface. */
if (link->ssid && link_has_carrier(link)) {
- r = link_reconfigure_impl(link, /* force = */ false);
+ r = link_reconfigure_impl(link, /* flags = */ 0);
if (r < 0) {
log_link_warning_errno(link, r, "Failed to reconfigure interface: %m");
link_enter_failed(link);
@@ -326,7 +326,7 @@ int manager_genl_process_nl80211_mlme(sd_netlink *genl, sd_netlink_message *mess
}
/* If necessary, reconfigure based on those new properties */
- r = link_reconfigure_impl(link, /* force = */ false);
+ r = link_reconfigure_impl(link, /* flags = */ 0);
if (r < 0) {
log_link_warning_errno(link, r, "Failed to reconfigure interface: %m");
link_enter_failed(link);