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 <jouni@qca.qualcomm.com>
This commit is contained in:
parent
329039869a
commit
b2210bd289
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ class WpaSupplicant:
|
||||||
res = self.request("FLUSH")
|
res = self.request("FLUSH")
|
||||||
if not "OK" in res:
|
if not "OK" in res:
|
||||||
logger.info("FLUSH to " + self.ifname + " failed: " + res)
|
logger.info("FLUSH to " + self.ifname + " failed: " + res)
|
||||||
|
self.request("WPS_ER_STOP")
|
||||||
self.request("SET external_sim 0")
|
self.request("SET external_sim 0")
|
||||||
self.request("SET hessid 00:00:00:00:00:00")
|
self.request("SET hessid 00:00:00:00:00:00")
|
||||||
self.request("SET access_network_type 15")
|
self.request("SET access_network_type 15")
|
||||||
|
|
Loading…
Reference in a new issue