mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
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
@ -196,6 +196,9 @@ class Hostapd:
|
||||
|
||||
def set(self, 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)
|
||||
|
||||
def set_defaults(self):
|
||||
|
Loading…
Reference in New Issue
Block a user