tests: Update scan_fail to match implementation change
The function name for adding frequency lists changed, so this test case needs a matching change to avoid failures. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
2a37cda747
commit
e4c815a77a
1 changed files with 1 additions and 1 deletions
|
@ -1137,7 +1137,7 @@ def test_scan_fail(dev, apdev):
|
|||
try:
|
||||
if "OK" not in dev[0].request("SET setband 2G"):
|
||||
raise Exception("SET setband failed")
|
||||
with alloc_fail(dev[0], 1, "=wpa_setband_scan_freqs_list"):
|
||||
with alloc_fail(dev[0], 1, "=wpa_add_scan_freqs_list"):
|
||||
# While the frequency list cannot be created due to memory
|
||||
# allocation failure, this scan is expected to be completed without
|
||||
# frequency filtering.
|
||||
|
|
Loading…
Reference in a new issue