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 329585c..ea4efd2 100644 (file)
@@ -79,6 +79,9 @@ def test_mbo_cell_capa_update(dev, apdev):
 
     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")
 
     time.sleep(0.2)
     sta = hapd.get_sta(addr)