]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Ensure the RoC is setup when the NAN frame arrives
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 11 Jun 2025 08:47:28 +0000 (10:47 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 21 Jun 2025 08:44:05 +0000 (11:44 +0300)
commit52ec1a869dc88ebf4a731d976da1ebc6da9f0bba
tree9e3524067bf46b5193eee91e2d0bac7263c65322
parent6b9ffc6a93362703782a769234b48f416383da9f
tests: Ensure the RoC is setup when the NAN frame arrives

At least in UML it could sometimes happen that the RoC is ready only
slightly after the NAN frame is TXed (a few microseconds). Insert
a short sleep to prevent this race from happening.

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