hostapd: Return error value on configuration check failure

Don't count errors since the number isn't used anyway.

Signed-hostap: Baruch Siach <baruch@tkos.co.il>
master
Baruch Siach 12 years ago committed by Jouni Malinen
parent 4929898dab
commit 17706d1c76

@ -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;

Loading…
Cancel
Save