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>
This commit is contained in:
Jouni Malinen 2014-12-16 23:42:38 +02:00 committed by Jouni Malinen
parent db1d66d879
commit 1d0b5a04e6

View 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: