]> git.ipfire.org Git - thirdparty/hostap.git/commit
Ignore duplicated SSID element when parsing
authorJouni Malinen <j@w1.fi>
Sat, 21 Mar 2020 13:57:37 +0000 (15:57 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 21 Mar 2020 15:12:29 +0000 (17:12 +0200)
commit51e8f5d63c1eb51d46a466f750daf178b93e55f3
tree23a08d56cdf9c22ddd3bdffb963cd5145062c536
parent5a296129fc1c7bcbb94e962e12c239a8f9180b37
Ignore duplicated SSID element when parsing

Some APs have managed to add two SSID elements into Beacon frames and
that used to result in picking the last one which had incorrect data in
the known examples of this misbehavior. Pick the first one to get the
correct SSID.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/ieee802_11_common.c