]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Add sleep to ensure wlantest processed packets
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 11 Jun 2025 08:47:25 +0000 (10:47 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 21 Jun 2025 08:36:34 +0000 (11:36 +0300)
commitb1b86bf467c4a6c8c4b861b79476cf1ebb23e376
tree056d16359fa686e5b6272e1e3467fbde7cbe4514
parent171820eaa8187becc5c5da63eff64e6ce4b8875b
tests: Add sleep to ensure wlantest processed packets

At least with EEVDF it appears to occasionally happen that wlantest has
not processed all packets but does respond to the command to query the
BSS counter. Fix this by inserting a sleep.

An alternative approach could be to force command handling into a
timeout or introducing a priority concept to eloop.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
tests/hwsim/test_ap_ciphers.py