about summary refs log tree commit diff
path: root/clients/cli/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/cli/devices.c')
-rw-r--r--clients/cli/devices.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clients/cli/devices.c b/clients/cli/devices.c
index c9ff8970..70c8d5d5 100644
--- a/clients/cli/devices.c
+++ b/clients/cli/devices.c
@@ -2549,6 +2549,11 @@ do_device_wifi_connect_network (NmCli *nmc, int argc, char **argv)
 			              NM_SETTING_WIRELESS_HIDDEN, hidden,
 			              NULL);
 			g_bytes_unref (ssid);
+
+			/* Warn when the provided AP identifier looks like BSSID instead of SSID */
+			if (bssid1_arr)
+				g_printerr (_("Warning: '%s' should be SSID for hidden APs; but it looks like a BSSID.\n"),
+				               param_user);
 		}
 	}