tests: Additional HS20_ICON_REQUEST coverage
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
ea215c54d0
commit
44c41cdf47
1 changed files with 2 additions and 0 deletions
|
@ -2003,6 +2003,8 @@ def test_ap_hs20_fetch_osu(dev, apdev):
|
|||
dev[1].scan_for_bss(bssid, freq="2412")
|
||||
dev[0].request("SET osu_dir " + dir)
|
||||
dev[0].request("FETCH_OSU")
|
||||
if "FAIL" not in dev[1].request("HS20_ICON_REQUEST foo w1fi_logo"):
|
||||
raise Exception("Invalid HS20_ICON_REQUEST accepted")
|
||||
if "OK" not in dev[1].request("HS20_ICON_REQUEST " + bssid + " w1fi_logo"):
|
||||
raise Exception("HS20_ICON_REQUEST failed")
|
||||
icons = 0
|
||||
|
|
Loading…
Reference in a new issue