]> git.ipfire.org Git - thirdparty/hostap.git/commit
wlantest: Do not ignore RSN/WPA/OSEN element before full BSS info
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 14 Nov 2017 10:55:48 +0000 (12:55 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 14 Nov 2017 10:55:48 +0000 (12:55 +0200)
commit878723b9207b79a2760cdf1baf9ab9fb468cd771
tree5926b347107cedbda06c375dfeb6dc23e3e8f6b5
parent5420bcf477d0088fac84cba1d803f89830b6b970
wlantest: Do not ignore RSN/WPA/OSEN element before full BSS info

wlantest used to ignore RSN/WPA/OSEN element in (Re)Association Request
frame if no Beacon frame had been seen from the AP before the
association exchange. This could result in not being able to derive keys
properly. Work around this by skipping that step if the BSS entry is not
yet complete.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wlantest/bss.c
wlantest/sta.c
wlantest/wlantest.h