From 1d0b5a04e6db78555fd6f6decdc218dc00c2d2dc Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 16 Dec 2014 23:42:38 +0200 Subject: [PATCH] tests: Dump monitor messages before hwsim_utils test This may be needed in some corner cases where broadcast frames with two associated stations are received by both devices. Signed-off-by: Jouni Malinen --- tests/hwsim/hwsim_utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/hwsim/hwsim_utils.py b/tests/hwsim/hwsim_utils.py index cd056b5a0..80e1ccedd 100644 --- a/tests/hwsim/hwsim_utils.py +++ b/tests/hwsim/hwsim_utils.py @@ -22,6 +22,9 @@ def run_connectivity_test(dev1, dev2, tos, dev1group=False, dev2group=False, if not dev2group and isinstance(dev2, WpaSupplicant): addr2 = dev2.get_driver_status_field('addr') + dev1.dump_monitor() + dev2.dump_monitor() + try: cmd = "DATA_TEST_CONFIG 1" if ifname1: -- 2.47.3