mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 03:40:07 +01:00
supplicant: don't allow scans to trigger a supplicant roaming decision
Just because the user requested a scan doesn't mean the supplicant should use the result of that scan to jump to an AP that's slightly better than the current one. Let the supplicant handle when it's supposed to roam based on it's own logic, not random scans from users or NM clients.
This commit is contained in:
parent
fd6ddcc794
commit
e1da16f799
1 changed files with 1 additions and 0 deletions
|
|
@ -1789,6 +1789,7 @@ nm_supplicant_interface_request_scan (NMSupplicantInterface *self, const GPtrArr
|
|||
/* Scan parameters */
|
||||
g_variant_builder_init (&builder, G_VARIANT_TYPE_VARDICT);
|
||||
g_variant_builder_add (&builder, "{sv}", "Type", g_variant_new_string ("active"));
|
||||
g_variant_builder_add (&builder, "{sv}", "AllowRoam", g_variant_new_boolean (FALSE));
|
||||
if (ssids) {
|
||||
GVariantBuilder ssids_builder;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue