tests: Skip test cases where hostapd does not support TKIP
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
21cf2c5baf
commit
7b82d0bd58
1 changed files with 3 additions and 0 deletions
|
@ -196,6 +196,9 @@ class Hostapd:
|
||||||
|
|
||||||
def set(self, field, value):
|
def set(self, field, value):
|
||||||
if "OK" not in self.request("SET " + field + " " + value):
|
if "OK" not in self.request("SET " + field + " " + value):
|
||||||
|
if "TKIP" in value and (field == "wpa_pairwise" or \
|
||||||
|
field == "rsn_pairwise"):
|
||||||
|
raise utils.HwsimSkip("Cipher TKIP not supported")
|
||||||
raise Exception("Failed to set hostapd parameter " + field)
|
raise Exception("Failed to set hostapd parameter " + field)
|
||||||
|
|
||||||
def set_defaults(self):
|
def set_defaults(self):
|
||||||
|
|
Loading…
Reference in a new issue