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
(cherry picked from commit 8cd8a5fbed)
This commit is contained in:
Beniamino Galvani 2019-09-11 20:21:53 +02:00
parent 1c950c180f
commit 81cc4ddb1a
2 changed files with 2 additions and 0 deletions

View file

@ -2061,6 +2061,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 */
}

View file

@ -3254,6 +3254,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);
}