The ap_csa tests are testing the channel switch functionality. After performing a channel switch the test used to sleep for 0.1 seconds. For real hw the operation takes a bit longer so the timeout is increased to 1 second. Signed-off-by: Jonathan Afek <jonathanx.afek@xxxxxxxxx> --- tests/hwsim/test_ap_csa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_csa.py b/tests/hwsim/test_ap_csa.py index 02943ae..7ff94a6 100644 --- a/tests/hwsim/test_ap_csa.py +++ b/tests/hwsim/test_ap_csa.py @@ -27,7 +27,7 @@ def switch_channel(ap, count, freq): raise Exception("CSA finished event timed out") if "freq=" + str(freq) not in ev: raise Exception("Unexpected channel in CSA finished event") - time.sleep(0.1) + time.sleep(1) # This function checks whether the provided dev, which may be either # WpaSupplicant or Hostapd supports CSA. -- 1.9.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap