tests: mesh_scan_oom to support partial BSS result reporting
The next commit modifies the BSS command behavior to report partial results for a BSS, so mesh_scan_oom needs to allow a BSS entry to be returned as long as it does not include the mesh information. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
2833743d4c
commit
51435515fb
1 changed files with 1 additions and 1 deletions
|
@ -1291,7 +1291,7 @@ def test_mesh_scan_oom(dev):
|
|||
for i in range(1, 3):
|
||||
with alloc_fail(dev[1], i, "mesh_attr_text"):
|
||||
bss = dev[1].get_bss(bssid)
|
||||
if bss is not None:
|
||||
if bss and "mesh_id" in bss:
|
||||
raise Exception("Unexpected BSS result during OOM")
|
||||
|
||||
def test_mesh_drv_fail(dev, apdev):
|
||||
|
|
Loading…
Reference in a new issue