From 429393567647935d9123e21fd27a7529d50255eb Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 1 Jul 2018 20:58:23 +0200 Subject: New upstream version 1.12.0 --- clients/cli/devices.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'clients/cli') 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; -- cgit 1.3.0-6-gf8a5