]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix hostapd.wait_sta()
authorJouni Malinen <jouni@codeaurora.org>
Wed, 7 Aug 2019 09:34:24 +0000 (12:34 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 7 Aug 2019 09:36:36 +0000 (12:36 +0300)
commitc4a9610e8f6269cd2674c1e1b1147727d87b2afc
tree32d672fd9a205214873bdf632d54bc9be97d093b
parent3263fca289a4493b3dfae6219ec6d6e846a18643
tests: Fix hostapd.wait_sta()

wait_event() expects a list of events instead of a single event name.
The previous implementation of wait_sta() did not really wait for
AP-STA-CONNECT; instead, it returned the next event from hostapd
regardless of what that event was.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/hostapd.py