From 8cd8a5fbed8732786e5bb1640920c0ea23e559f7 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 11 Sep 2019 20:21:53 +0200 Subject: [PATCH] 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 --- src/devices/wifi/nm-device-iwd.c | 1 + src/devices/wifi/nm-device-wifi.c | 1 + 2 files changed, 2 insertions(+) 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); }