projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3290398
)
tests: Stop WPS ER on station reset
author
Jouni Malinen
<jouni@qca.qualcomm.com>
Mon, 24 Feb 2014 11:55:42 +0000
(13:55 +0200)
committer
Jouni Malinen
<j@w1.fi>
Mon, 24 Feb 2014 11:56:42 +0000
(13:56 +0200)
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>
tests/hwsim/wpasupplicant.py
patch
|
blob
|
history
diff --git
a/tests/hwsim/wpasupplicant.py
b/tests/hwsim/wpasupplicant.py
index
3a7908b
..
3c6c435
100644
(file)
--- 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")