tests: MBO mbo_cell_capa duplicate update
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
9607a1aef7
commit
b9dca2a954
1 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,9 @@ def test_mbo_cell_capa_update(dev, apdev):
|
||||||
if 'mbo_cell_capa' not in sta or sta['mbo_cell_capa'] != '1':
|
if 'mbo_cell_capa' not in sta or sta['mbo_cell_capa'] != '1':
|
||||||
raise Exception("mbo_cell_capa missing after association")
|
raise Exception("mbo_cell_capa missing after association")
|
||||||
|
|
||||||
|
if "OK" not in dev[0].request("SET mbo_cell_capa 3"):
|
||||||
|
raise Exception("Failed to set STA as cellular data not-capable")
|
||||||
|
# Duplicate update for additional code coverage
|
||||||
if "OK" not in dev[0].request("SET mbo_cell_capa 3"):
|
if "OK" not in dev[0].request("SET mbo_cell_capa 3"):
|
||||||
raise Exception("Failed to set STA as cellular data not-capable")
|
raise Exception("Failed to set STA as cellular data not-capable")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue