Specify interface for wpa_cli status
Change-Id: Id504b1ea9e1e57fc242898327d5a9b1c9bae8f88
diff --git a/libraries/utils.robot b/libraries/utils.robot
index cd27aa4..8001b1d 100644
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -95,7 +95,7 @@
END
FOR ${i} IN RANGE 70
${output}= Login And Run Command On Remote System
- ... wpa_cli status | grep SUCCESS ${ip} ${user}
+ ... wpa_cli -i ${iface} status | grep SUCCESS ${ip} ${user}
... ${pass} ${container_type} ${container_name}
${passed}= Run Keyword And Return Status Should Contain ${output} SUCCESS
Run Keyword If ${passed} Exit For Loop