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:
parent
8214b45ba0
commit
21dc1627f6
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue