wait_for_scan_result takes lists of ssids/bsses

All of the other scan functions in the iw_runner take a list
of ssids of bsses.  This make wait_for_scan_result consistent
with the rest of the scan methods.

TEST=unittest
BUG=None

Change-Id: I43bff12c79259cdcb3584b0bd056fd4df2708cc6
Reviewed-on: https://chromium-review.googlesource.com/276347
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Kris Rambish <krisr@chromium.org>
Trybot-Ready: Kris Rambish <krisr@chromium.org>
diff --git a/server/cros/network/chaos_clique_utils.py b/server/cros/network/chaos_clique_utils.py
index a09d1cb..03538b5 100644
--- a/server/cros/network/chaos_clique_utils.py
+++ b/server/cros/network/chaos_clique_utils.py
@@ -121,7 +121,7 @@
     # The SSID doesn't matter, all that needs to be verified is that iw
     # works.
     networks = client.iw_runner.wait_for_scan_result(
-            client.wifi_if, ssid=ap.ssid)
+            client.wifi_if, ssids=[ap.ssid])
     if networks == None:
         return False
     return True
@@ -255,7 +255,7 @@
     capturer.host.run('%s link set %s up' % (capturer.cmd_ip, wifi_if))
     # We have some APs that need a while to come on-line
     networks = capturer.iw_runner.wait_for_scan_result(
-            wifi_if, ssid=ssid, timeout_seconds=300)
+            wifi_if, ssids=[ssid], timeout_seconds=300)
     capturer.remove_interface(wifi_if)
     return networks