From: Jouni Malinen Date: Mon, 24 Feb 2014 11:55:42 +0000 (+0200) Subject: tests: Stop WPS ER on station reset X-Git-Tag: hostap_2_2~814 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2210bd2890592e0b67abfedfeff73bf4823140f;p=thirdparty%2Fhostap.git tests: Stop WPS ER on station reset This seems to be needed in some cases to avoid issues in test cases that assume there are no other ERs running. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py index 3a7908b1e..3c6c4352a 100644 --- a/tests/hwsim/wpasupplicant.py +++ b/tests/hwsim/wpasupplicant.py @@ -84,6 +84,7 @@ class WpaSupplicant: res = self.request("FLUSH") if not "OK" in res: logger.info("FLUSH to " + self.ifname + " failed: " + res) + self.request("WPS_ER_STOP") self.request("SET external_sim 0") self.request("SET hessid 00:00:00:00:00:00") self.request("SET access_network_type 15")