tests: Fix ap_wps_per_station_psk to use own_addr()
The test used p2p_dev_addr() that can be different from own_addr() if a dedicated P2P Device interface is used. Signed-off-by: Ben Rosenfeld <ben.rosenfeld@intel.com>
This commit is contained in:
parent
18945a8c8e
commit
1d21a5bee5
1 changed files with 3 additions and 3 deletions
|
@ -1419,9 +1419,9 @@ def get_psk(pskfile):
|
||||||
|
|
||||||
def test_ap_wps_per_station_psk(dev, apdev):
|
def test_ap_wps_per_station_psk(dev, apdev):
|
||||||
"""WPS PBC provisioning with per-station PSK"""
|
"""WPS PBC provisioning with per-station PSK"""
|
||||||
addr0 = dev[0].p2p_dev_addr()
|
addr0 = dev[0].own_addr()
|
||||||
addr1 = dev[1].p2p_dev_addr()
|
addr1 = dev[1].own_addr()
|
||||||
addr2 = dev[2].p2p_dev_addr()
|
addr2 = dev[2].own_addr()
|
||||||
ssid = "wps"
|
ssid = "wps"
|
||||||
appin = "12345670"
|
appin = "12345670"
|
||||||
pskfile = "/tmp/ap_wps_per_enrollee_psk.psk_file"
|
pskfile = "/tmp/ap_wps_per_enrollee_psk.psk_file"
|
||||||
|
|
Loading…
Reference in a new issue