Make this test case wait for the kernel STA entries to be ready for Data
frames before initiating TDLS setup similarly to the other TDLS test
cases. This avoids issues where "dropped frame to 02:00:00:00:01:00
(unauthorized port)" is seen in kernel log and the TDLS setup does not
complete in time.
Signed-off-by: Jouni Malinen <jouni.malinen@oss.qualcomm.com>
dev[1].connect("test-open", key_mgmt="NONE", scan_freq="2412")
addr0 = dev[0].own_addr()
addr1 = dev[1].own_addr()
+ hapd.wait_sta()
+ hapd.wait_sta()
+ connectivity(dev, hapd)
dev[0].set("tdls_external_control", "1")
if "FAIL" in dev[0].request("TDLS_SETUP " + addr1):