shill: instruct wpa_supplicant to use directed probes

In order to find APs that are configured to hide their
SSIDs, we need to send directed probe messages (which
contain the SSID of interest), rather than broadcast
probes. So instruct supplicant to do so.

Note that we follow flimflam's practice of sending
this instruction unconditionally (whether we're
connecting to a hidden SSID or not).

BUG=chromium-os:23612
TEST=unittests, subset of autotests (below)

autotests run:
PASS WiFiMatFunc.003CheckBcastSSID
PASS WiFiMatFunc.004CheckHiddenSSID
PASS WiFiSecMat.030CheckHidden_WEP
FAIL WiFiSecMat.031CheckHidden_WPA
FAIL WiFiSecMat.032CheckHidden_RSN

Change-Id: I8cb61d2a5a9b56984c27dfffe1d0852ba8c0e9e7
Reviewed-on: https://gerrit.chromium.org/gerrit/12300
Commit-Ready: mukesh agrawal <quiche@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
diff --git a/wifi.h b/wifi.h
index b804282..94877aa 100644
--- a/wifi.h
+++ b/wifi.h
@@ -54,7 +54,7 @@
   // Called by WiFiService.
   virtual void ConnectTo(
       WiFiService *service,
-      const std::map<std::string, ::DBus::Variant> &service_params);
+      std::map<std::string, ::DBus::Variant> service_params);
 
   // Called by Manager.
   virtual WiFiServiceRefPtr GetService(const KeyValueStore &args, Error *error);