mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
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
@ -2490,7 +2490,7 @@ int hostapd_set_iface(struct hostapd_config *conf,
|
|||||||
|
|
||||||
if (hostapd_config_check(conf)) {
|
if (hostapd_config_check(conf)) {
|
||||||
wpa_printf(MSG_ERROR, "Configuration check failed");
|
wpa_printf(MSG_ERROR, "Configuration check failed");
|
||||||
errors++;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user