wpa_supplicant: Don't return an error when successfully parsing WMM rules

The config file parser previously would fall through into an error if
CONFIG_AP is defined and it hit a wmm_ac_* rule with a valid value. Add
a return to prevent incorrectly printing an error message and returning
a non-zero exit code.

Signed-off-by: Sujay Patwardhan <sujay@eero.com>
This commit is contained in:
Sujay Patwardhan 2019-08-26 11:35:38 -07:00 committed by Jouni Malinen
parent 8214b45ba0
commit 21dc1627f6

View file

@ -5140,6 +5140,7 @@ int wpa_config_process_global(struct wpa_config *config, char *pos, int line)
"AC item", line);
return -1;
}
return ret;
}
#endif /* CONFIG_AP */
if (line < 0)