diff options
| author | Michael Biebl <biebl@debian.org> | 2018-07-01 20:59:09 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-07-01 20:59:09 +0200 |
| commit | 6106f75cc14c2d8af6999bd28dd075c32411deaf (patch) | |
| tree | 2e084cc81011fc5cec703704f2ff5b65f5a7fa8d /clients/cli | |
| parent | e8b3308b1970e9b71b443479351e173cb89e3800 (diff) | |
| parent | 429393567647935d9123e21fd27a7529d50255eb (diff) | |
Update upstream source from tag 'upstream/1.12.0'
Update to upstream version '1.12.0' with Debian dir 76506925b30952acfa95c8f5b789bcfb2a8e3a6e
Diffstat (limited to 'clients/cli')
| -rw-r--r-- | clients/cli/devices.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clients/cli/devices.c b/clients/cli/devices.c index 58102ed3..aa28678f 100644 --- a/clients/cli/devices.c +++ b/clients/cli/devices.c @@ -2772,6 +2772,17 @@ wifi_list_aps (NMDeviceWifi *wifi, needs_rescan = rescan_cutoff < 0 || (rescan_cutoff > 0 && nm_device_wifi_get_last_scan (wifi) < rescan_cutoff); + /* FIXME: nmcli should either + * - don't request any new scan for any device and print the full AP list right + * away. + * - or, when requesting a scan on one or more devices, don't print the result + * before all requests complete. + * + * Otherwise: + * - the printed output is not self consistent. E.g. it will print the result + * on one device at a certain time, while printing the result for another + * device at a later point in time. + * - the order in which we print the AP list per-device, is unstable. */ if (needs_rescan) { data = g_slice_new0 (WifiListData); data->nmc = nmc; |