From: Jouni Malinen Date: Tue, 16 Dec 2014 21:42:38 +0000 (+0200) Subject: tests: Dump monitor messages before hwsim_utils test X-Git-Tag: hostap_2_4~760 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d0b5a04e6db78555fd6f6decdc218dc00c2d2dc;p=thirdparty%2Fhostap.git 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 --- 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: