From: Jouni Malinen Date: Fri, 27 Dec 2013 06:27:44 +0000 (+0200) Subject: tests: Wait for AP-ENABLED X-Git-Tag: hostap_2_1~354 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=629dbdd36a9423b4ada055e5f5cf65a5f2750778;p=thirdparty%2Fhostap.git tests: Wait for AP-ENABLED It takes some time for hostapd to complete AP startup. In some cases, this could potentially result in station starting a scan before the AP is beaconing or ready to reply to probes. To avoid such race conditions, wait for AP-ENABLED before going ahead with the test cases. Signed-hostap: Jouni Malinen --- diff --git a/tests/hwsim/hostapd.py b/tests/hwsim/hostapd.py index 12e4a9f86..ada6d6dcb 100644 --- a/tests/hwsim/hostapd.py +++ b/tests/hwsim/hostapd.py @@ -179,7 +179,7 @@ class Hostapd: hdr = struct.pack('