From: Jouni Malinen Date: Sun, 7 Dec 2014 23:04:19 +0000 (+0200) Subject: tests: P2P_GET_PASSPHRASE X-Git-Tag: hostap_2_4~880 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=934d5b0403443b2a2c077ce02813502e13bc1c93;p=thirdparty%2Fhostap.git tests: P2P_GET_PASSPHRASE Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_p2p_autogo.py b/tests/hwsim/test_p2p_autogo.py index 79abd4c50..b2d8523b0 100644 --- a/tests/hwsim/test_p2p_autogo.py +++ b/tests/hwsim/test_p2p_autogo.py @@ -264,6 +264,8 @@ def test_autogo_legacy(dev): res = autogo(dev[0], freq=2462) if dev[0].get_group_status_field("passphrase", extra="WPS") != res['passphrase']: raise Exception("passphrase mismatch") + if dev[0].request("P2P_GET_PASSPHRASE") != res['passphrase']: + raise Exception("passphrase mismatch(2)") logger.info("Connect P2P client") connect_cli(dev[0], dev[1], social=True, freq=2462)