]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Dump monitor messages before hwsim_utils test
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 16 Dec 2014 21:42:38 +0000 (23:42 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 18 Dec 2014 14:41:40 +0000 (16:41 +0200)
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 <jouni@qca.qualcomm.com>
tests/hwsim/hwsim_utils.py

index cd056b5a08e21905746f47b706f0c7d05398f3d0..80e1cceddb2378afc0962b19dbda72fb1f240153 100644 (file)
@@ -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: