tests: PASN: configure the nid before sending the command

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
master
Ilan Peer 3 years ago committed by Jouni Malinen
parent 2efa60344e
commit 2264a29890

@ -65,10 +65,11 @@ def check_pasn_akmp_cipher(dev, hapd, akmp="PASN", cipher="CCMP",
cmd = "PASN_START bssid=%s akmp=%s cipher=%s group=%s" % (hapd.own_addr(), akmp, cipher, group)
resp = dev.request(cmd)
if nid != "":
cmd += " nid=%s" % nid
resp = dev.request(cmd)
if fail:
if "OK" in resp:
raise Exception("Unexpected success to start PASN authentication")

Loading…
Cancel
Save