Browse Source

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 <jouni@qca.qualcomm.com>
Jouni Malinen 10 years ago
parent
commit
1d0b5a04e6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/hwsim/hwsim_utils.py

+ 3 - 0
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: