]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: MBO mbo_cell_capa duplicate update
authorJouni Malinen <j@w1.fi>
Wed, 29 Jun 2016 21:34:48 +0000 (00:34 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 29 Jun 2016 21:34:48 +0000 (00:34 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_mbo.py

index 329585c0ea9355986c91a7519d213265c8394a33..ea4efd2e503f18537db611bee82df67b061c52b9 100644 (file)
@@ -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':
         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"):
         raise Exception("Failed to set STA as cellular data not-capable")