shill: Perform Portal Detection in Device
When a connection completes, start a portal detection request, which
may change the state of the selected service. Bonus changes: removed
Service::kStateReady, since Service::kStateConnected maps directly
to flimflam::kStateReady. Also, move technology list parsing over
to technology.cc.
BUG=chromium-os:23318
TEST=New unit tests
Change-Id: I2fad724165af6914c8f83bc123f07db5af223a05
Reviewed-on: https://gerrit.chromium.org/gerrit/16117
Commit-Ready: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
diff --git a/wifi_service.cc b/wifi_service.cc
index ba6df5f..f3dbe56 100644
--- a/wifi_service.cc
+++ b/wifi_service.cc
@@ -57,6 +57,7 @@
mode_(mode),
hidden_ssid_(hidden_ssid),
frequency_(0),
+ physical_mode_(0),
task_factory_(this),
wifi_(device),
ssid_(ssid) {