WMM AC: Do not fail on unknown IEs in Association Response
Some APs add their custom (vendor-specific) IEs to the Association Response frame. Fail WMM AC initialization only if Association Response frame IE parsing actually failed, i.e., ignore all unknown IEs. Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
This commit is contained in:
parent
fecc2bb5a8
commit
677e7a9582
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ wmm_ac_process_param_elem(struct wpa_supplicant *wpa_s, const u8 *ies,
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* Parsing WMM Parameter Element */
|
/* Parsing WMM Parameter Element */
|
||||||
if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) != ParseOK) {
|
if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) {
|
||||||
wpa_printf(MSG_DEBUG, "WMM AC: could not parse assoc ies");
|
wpa_printf(MSG_DEBUG, "WMM AC: could not parse assoc ies");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue