commit | 3d9bcf58bd29080b96db4a2c9e7bfe6ed3d6e6df | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Mon Dec 12 15:02:22 2011 -0800 |
committer | Gerrit <chrome-bot@google.com> | Thu Dec 15 11:12:39 2011 -0800 |
tree | a424ab3239421c361cd610b718ef29cbab2d1332 | |
parent | 2706aaf80a93dcc3891bf7205318b530d40393f9 [diff] |
shill: Enable auto-connect for WiFi services This performs a few of the last tidbits to get auto-connect working for WiFi networks. The tweaks include: * Adding calls to SortServices() in Push/PopProfile * On successful connection, move service to the profile on the top of the stack if this service was previously in the ephemeral profile. * Add a method to Services to return whether they are eligible for auto-connect. Implement this for the WiFi services by using a new method to test if the WiFi device is busy. BUG=chromium-os:24261,chromium-os:17255 TEST=Unit Tests (for regression) Manual: Connect to WPA-PSK network successfully; restart shill and observe an auto-connect after scan. Change-Id: Ia4e1fd94795a4ce64d66ec6db940ee16ff694431 Reviewed-on: https://gerrit.chromium.org/gerrit/12963 Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Ready: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>