From: Jouni Malinen Date: Fri, 17 Jul 2015 21:20:23 +0000 (+0300) Subject: tests: Verify wpa parameter in hostapd GET_CONFIG X-Git-Tag: hostap_2_5~368 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=742408afa8dfccf36fc9e99c423e5ac9a96bf0c9;p=thirdparty%2Fhostap.git tests: Verify wpa parameter in hostapd GET_CONFIG Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index 90c1d7902..c82fb7531 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -66,6 +66,8 @@ def test_ap_wps_init(dev, apdev): conf = hapd.request("GET_CONFIG") if "wps_state=configured" not in conf: raise Exception("AP not in WPS configured state") + if "wpa=3" not in conf: + raise Exception("AP not in WPA+WPA2 configuration") if "rsn_pairwise_cipher=CCMP TKIP" not in conf: raise Exception("Unexpected rsn_pairwise_cipher") if "wpa_pairwise_cipher=CCMP TKIP" not in conf: