tests: Verify wpa parameter in hostapd GET_CONFIG
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
de7581ef68
commit
742408afa8
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ def test_ap_wps_init(dev, apdev):
|
||||||
conf = hapd.request("GET_CONFIG")
|
conf = hapd.request("GET_CONFIG")
|
||||||
if "wps_state=configured" not in conf:
|
if "wps_state=configured" not in conf:
|
||||||
raise Exception("AP not in WPS configured state")
|
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:
|
if "rsn_pairwise_cipher=CCMP TKIP" not in conf:
|
||||||
raise Exception("Unexpected rsn_pairwise_cipher")
|
raise Exception("Unexpected rsn_pairwise_cipher")
|
||||||
if "wpa_pairwise_cipher=CCMP TKIP" not in conf:
|
if "wpa_pairwise_cipher=CCMP TKIP" not in conf:
|
||||||
|
|
Loading…
Reference in a new issue