mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 11:19:16 +02:00
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 commit8cd8a5fbed) (cherry picked from commit81cc4ddb1a) (cherry picked from commitade9864366) (cherry picked from commitea30bffbb5)
This commit is contained in:
parent
481b7fe3fb
commit
e174a420fa
2 changed files with 2 additions and 0 deletions
|
|
@ -1645,6 +1645,7 @@ can_reapply_change (NMDevice *device,
|
||||||
return nm_device_hash_check_invalid_keys (diffs,
|
return nm_device_hash_check_invalid_keys (diffs,
|
||||||
NM_SETTING_WIRELESS_SETTING_NAME,
|
NM_SETTING_WIRELESS_SETTING_NAME,
|
||||||
error,
|
error,
|
||||||
|
NM_SETTING_WIRELESS_SEEN_BSSIDS, /* ignored */
|
||||||
NM_SETTING_WIRELESS_MTU); /* reapplied with IP config */
|
NM_SETTING_WIRELESS_MTU); /* reapplied with IP config */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3157,6 +3157,7 @@ can_reapply_change (NMDevice *device,
|
||||||
return nm_device_hash_check_invalid_keys (diffs,
|
return nm_device_hash_check_invalid_keys (diffs,
|
||||||
NM_SETTING_WIRELESS_SETTING_NAME,
|
NM_SETTING_WIRELESS_SETTING_NAME,
|
||||||
error,
|
error,
|
||||||
|
NM_SETTING_WIRELESS_SEEN_BSSIDS, /* ignored */
|
||||||
NM_SETTING_WIRELESS_MTU, /* reapplied with IP config */
|
NM_SETTING_WIRELESS_MTU, /* reapplied with IP config */
|
||||||
NM_SETTING_WIRELESS_WAKE_ON_WLAN);
|
NM_SETTING_WIRELESS_WAKE_ON_WLAN);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue