mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
tests: TDLS_CHAN_SWITCH error case
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
c1c938335e
commit
f241a2604a
@ -540,6 +540,8 @@ def test_tdls_chan_switch(dev, apdev):
|
|||||||
raise Exception("Could not disable TDLS channel switching")
|
raise Exception("Could not disable TDLS channel switching")
|
||||||
if "FAIL" not in dev[0].request("TDLS_CANCEL_CHAN_SWITCH " + dev[1].own_addr()):
|
if "FAIL" not in dev[0].request("TDLS_CANCEL_CHAN_SWITCH " + dev[1].own_addr()):
|
||||||
raise Exception("TDLS_CANCEL_CHAN_SWITCH accepted even though channel switching was already disabled")
|
raise Exception("TDLS_CANCEL_CHAN_SWITCH accepted even though channel switching was already disabled")
|
||||||
|
if "FAIL" not in dev[0].request("TDLS_CHAN_SWITCH foo 81 2462"):
|
||||||
|
raise Exception("Invalid TDLS channel switching command accepted")
|
||||||
|
|
||||||
def test_ap_tdls_link_status(dev, apdev):
|
def test_ap_tdls_link_status(dev, apdev):
|
||||||
"""Check TDLS link status between two stations"""
|
"""Check TDLS link status between two stations"""
|
||||||
|
Loading…
Reference in New Issue
Block a user