diff options
author | Dan Williams <dcbw@redhat.com> | 2016-11-07 16:31:19 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2017-08-11 12:35:01 -0500 |
commit | e1da16f79950dca54bda99f736c6a62ecb6bb25b (patch) | |
tree | 45ae1a68e8a2b71ce103555e96330de74f378f1b | |
parent | fd6ddcc794949ded253dde063fcbddc35054081b (diff) | |
download | NetworkManager-e1da16f79950dca54bda99f736c6a62ecb6bb25b.tar.gz |
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.
-rw-r--r-- | src/supplicant/nm-supplicant-interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/supplicant/nm-supplicant-interface.c b/src/supplicant/nm-supplicant-interface.c index b90975fb21..0c6c3f36d1 100644 --- a/src/supplicant/nm-supplicant-interface.c +++ b/src/supplicant/nm-supplicant-interface.c @@ -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; |