commit | ca8c4a74d78f50136f7898cc96af7d4960f5878a | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Sat Jul 14 03:38:44 2012 |
committer | Paul Stewart <pstew@chromium.org> | Mon Jul 16 19:20:23 2012 |
tree | bb9f1c6d6022ac3292338df004e6a88b41ca8382 | |
parent | 89e0d5b67649f1fad330b2fc4e7998618b1b9c0c [diff] |
shill: WiFi: Timeout pending connections Whenever we select a pending service, start a timeout, at the end of which we will disconnect and fail the connection. There are a one cleanup associated with this -- prevent SelectService(NULL) from being called when current_service_ becomes NULL but the currently selected service is pending_service_. BUG=chromium-os:23206 TEST=New unit test. Connect to non-existent network using "Join Other ...", and observe failure mole. Originally-Reviewed-on: https://gerrit.chromium.org/gerrit/27442 (cherry picked from commit 2b05e62aee046cdabbf7edbc4cf45cef961d30a1) Change-Id: I0c3e7172d8def585243926029e0bbdff8884fc48 Reviewed-on: https://gerrit.chromium.org/gerrit/27522 Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>