From a2b9b7937d07624e76efd9623baba0d57488a95b Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 19 Aug 2023 16:51:51 +0200 Subject: wifi: T5470: improve error message (cherry picked from commit ffb798b4678f3b1bd0a40cc42b1f0477470346dc) --- src/conf_mode/interfaces-wireless.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index 7e967ed79..b1639e0f4 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -136,7 +136,7 @@ def verify(wifi): raise ConfigError('You must specify a WiFi mode') if 'ssid' not in wifi and wifi['type'] != 'monitor': - raise ConfigError('SSID must be configured') + raise ConfigError('SSID must be configured unless type is set to "monitor"!') if wifi['type'] == 'access-point': if 'country_code' not in wifi: -- cgit v1.2.3