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:
parent
4929898dab
commit
17706d1c76
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue