diff options
author | Eliad Peller <eliad@wizery.com> | 2014-12-29 02:15:00 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2015-01-04 16:33:29 (GMT) |
commit | 677e7a95826fe9f6d93832511b7f082b899a8f3c (patch) | |
tree | fba0af129e8597aaaa6c4ead415aca07646a63ab /wpa_supplicant/wmm_ac.c | |
parent | fecc2bb5a887bd291d05102070c8c7b61acf8aaf (diff) | |
download | hostap-677e7a95826fe9f6d93832511b7f082b899a8f3c.zip hostap-677e7a95826fe9f6d93832511b7f082b899a8f3c.tar.gz hostap-677e7a95826fe9f6d93832511b7f082b899a8f3c.tar.bz2 |
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>
Diffstat (limited to 'wpa_supplicant/wmm_ac.c')
-rw-r--r-- | wpa_supplicant/wmm_ac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wmm_ac.c b/wpa_supplicant/wmm_ac.c index 379c6e8..47d7436 100644 --- a/wpa_supplicant/wmm_ac.c +++ b/wpa_supplicant/wmm_ac.c @@ -427,7 +427,7 @@ wmm_ac_process_param_elem(struct wpa_supplicant *wpa_s, const u8 *ies, int i; /* 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"); return NULL; } |