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:
4e53675
)
tests: Verify that sec_dev_type gets reported for P2P peer
author
Jouni Malinen
<jouni@qca.qualcomm.com>
Wed, 27 Aug 2014 13:22:53 +0000
(16:22 +0300)
committer
Jouni Malinen
<j@w1.fi>
Wed, 27 Aug 2014 13:22:53 +0000
(16:22 +0300)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_p2p_discovery.py
patch
|
blob
|
history
diff --git
a/tests/hwsim/test_p2p_discovery.py
b/tests/hwsim/test_p2p_discovery.py
index
bc1fad3
..
a3700dd
100644
(file)
--- a/
tests/hwsim/test_p2p_discovery.py
+++ b/
tests/hwsim/test_p2p_discovery.py
@@
-148,6
+148,9
@@
def test_discovery_dev_type(dev):
ev = dev[0].wait_event(['P2P-DEVICE-FOUND'], timeout=2)
if ev is None:
raise Exception("P2P device not found")
+ peer = dev[0].get_peer(dev[1].p2p_dev_addr())
+ if "1-0050F204-2" not in peer['sec_dev_type']:
+ raise Exception("sec_device_type not reported properly")
def test_discovery_dev_type_go(dev):
"""P2P device discovery with Device Type filter on GO"""