tests: WNM Time Advertisement without time zone configuration
This is a regression test for a segfault in hostapd. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b375b04b67
commit
5fb016a219
1 changed files with 8 additions and 0 deletions
|
@ -1802,3 +1802,11 @@ def test_wnm_bss_transition_mgmt_query_with_unknown_candidates(dev, apdev):
|
|||
ev = hapd.wait_event(["BSS-TM-RESP"], timeout=5)
|
||||
if ev is None:
|
||||
raise Exception("No BSS Transition Management Response frame seen")
|
||||
|
||||
def test_wnm_time_adv_without_time_zone(dev, apdev):
|
||||
"""WNM Time Advertisement without time zone configuration"""
|
||||
params = { "ssid": "test-wnm",
|
||||
"time_advertisement": "2" }
|
||||
hostapd.add_ap(apdev[0], params)
|
||||
|
||||
dev[0].connect("test-wnm", key_mgmt="NONE", scan_freq="2412")
|
||||
|
|
Loading…
Reference in a new issue