diff --git a/tests/hwsim/hostapd.py b/tests/hwsim/hostapd.py index b4ebbdbf6..67e8a7fb8 100644 --- a/tests/hwsim/hostapd.py +++ b/tests/hwsim/hostapd.py @@ -279,7 +279,7 @@ class Hostapd: state = sta['hostapdWPAPTKState'] if state == "11": return - os.sleep(0.1) + time.sleep(0.1) timeout -= 0.1 raise Exception("Timeout while waiting for PTKINITDONE")