tests: P2P_GET_PASSPHRASE

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-12-08 01:04:19 +02:00
parent a5c43328d9
commit 934d5b0403

View file

@ -264,6 +264,8 @@ def test_autogo_legacy(dev):
res = autogo(dev[0], freq=2462) res = autogo(dev[0], freq=2462)
if dev[0].get_group_status_field("passphrase", extra="WPS") != res['passphrase']: if dev[0].get_group_status_field("passphrase", extra="WPS") != res['passphrase']:
raise Exception("passphrase mismatch") raise Exception("passphrase mismatch")
if dev[0].request("P2P_GET_PASSPHRASE") != res['passphrase']:
raise Exception("passphrase mismatch(2)")
logger.info("Connect P2P client") logger.info("Connect P2P client")
connect_cli(dev[0], dev[1], social=True, freq=2462) connect_cli(dev[0], dev[1], social=True, freq=2462)