[PATCH 18/24] tests: Fix test ap_wps_per_station_psk() to use own_addr
Ilan Peer
ilan.peer
Wed Feb 4 01:30:30 PST 2015
From: Ben <ben.rosenfeld at intel.com>
The test used p2p_dev_addr that can be different from own_addr,
i.e., if a dedicated P2P Device interface is used.
Signed-off-by: Ben Rosenfeld <ben.rosenfeld at intel.com>
---
tests/hwsim/test_ap_wps.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py
index 17ecd0a..8d73d3e 100644
--- a/tests/hwsim/test_ap_wps.py
+++ b/tests/hwsim/test_ap_wps.py
@@ -1419,9 +1419,9 @@ def get_psk(pskfile):
def test_ap_wps_per_station_psk(dev, apdev):
"""WPS PBC provisioning with per-station PSK"""
- addr0 = dev[0].p2p_dev_addr()
- addr1 = dev[1].p2p_dev_addr()
- addr2 = dev[2].p2p_dev_addr()
+ addr0 = dev[0].own_addr()
+ addr1 = dev[1].own_addr()
+ addr2 = dev[2].own_addr()
ssid = "wps"
appin = "12345670"
pskfile = "/tmp/ap_wps_per_enrollee_psk.psk_file"
--
1.8.3.2
More information about the Hostap
mailing list