]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix EAPOL frame source address in protocol tests
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 27 Feb 2017 22:03:48 +0000 (00:03 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 28 Feb 2017 09:24:15 +0000 (11:24 +0200)
commit069daec4eef380a22e34c203a1eb0c93060f826c
tree9769f02c00f7111d6cf62ab2c0ee0451e6b8d452
parent206516e8c2bdd12651438a0c5c355e4bce343611
tests: Fix EAPOL frame source address in protocol tests

The send_eapol() calls for delivering frames to wpa_supplicant had a
copy-paste bug from the earlier hostapd cases. These were supposed to
use the BSSID, not the address of the station, as the source address.
The local address worked for most cases since it was practically
ignored, but this could prevent the race condition workaround for
association event from working. Fix this by using the correct source
address (BSSID).

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_psk.py