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>
This commit is contained in:
Baruch Siach 2012-06-16 20:30:28 +03:00 committed by Jouni Malinen
parent 4929898dab
commit 17706d1c76
1 changed files with 1 additions and 1 deletions

View File

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