summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2019-09-11 20:21:53 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2019-09-13 14:26:21 +0200
commit8cd8a5fbed8732786e5bb1640920c0ea23e559f7 (patch)
treec11431cb1051591674f6c8c78935b9d03adfce9f
parent15035e2b0d8c31dedd96d9e12461ac10324a097c (diff)
downloadNetworkManager-8cd8a5fbed8732786e5bb1640920c0ea23e559f7.tar.gz
wifi: allow reapply when the seen-bssids property changed
wifi.seen-bssid is a synthetic read-only property that lists all the bssids seen for that connection; it should be ignored during a reapply. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/243
-rw-r--r--src/devices/wifi/nm-device-iwd.c1
-rw-r--r--src/devices/wifi/nm-device-wifi.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/wifi/nm-device-iwd.c b/src/devices/wifi/nm-device-iwd.c
index 33f4df02e5..70af762823 100644
--- a/src/devices/wifi/nm-device-iwd.c
+++ b/src/devices/wifi/nm-device-iwd.c
@@ -2046,6 +2046,7 @@ can_reapply_change (NMDevice *device,
return nm_device_hash_check_invalid_keys (diffs,
NM_SETTING_WIRELESS_SETTING_NAME,
error,
+ NM_SETTING_WIRELESS_SEEN_BSSIDS, /* ignored */
NM_SETTING_WIRELESS_MTU); /* reapplied with IP config */
}
diff --git a/src/devices/wifi/nm-device-wifi.c b/src/devices/wifi/nm-device-wifi.c
index 25f3b5c701..2dc1c6a5b0 100644
--- a/src/devices/wifi/nm-device-wifi.c
+++ b/src/devices/wifi/nm-device-wifi.c
@@ -3181,6 +3181,7 @@ can_reapply_change (NMDevice *device,
return nm_device_hash_check_invalid_keys (diffs,
NM_SETTING_WIRELESS_SETTING_NAME,
error,
+ NM_SETTING_WIRELESS_SEEN_BSSIDS, /* ignored */
NM_SETTING_WIRELESS_MTU, /* reapplied with IP config */
NM_SETTING_WIRELESS_WAKE_ON_WLAN);
}