aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/config_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index 65a53fe..6729e5c 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -2490,7 +2490,7 @@ int hostapd_set_iface(struct hostapd_config *conf,
if (hostapd_config_check(conf)) {
wpa_printf(MSG_ERROR, "Configuration check failed");
- errors++;
+ return -1;
}
return 0;