commit | ca62154261be3d481c1e54d5fcf7012e8918b4e2 | [log] [tgz] |
---|---|---|
author | Darin Petkov <petkov@chromium.org> | Wed Jul 25 14:25:56 2012 +0200 |
committer | Gerrit <chrome-bot@google.com> | Fri Jul 27 02:49:48 2012 -0700 |
tree | 9999a41b65cef66f9dbb30f87c79a154aaf114cf | |
parent | 91a5aac3d03883be7d652096b1c018298096edcd [diff] |
shill: Suppress auto-connect on suspend and force it on resume. This avoids extra churn on suspend and prevents shill from trying to auto-connect a cellular service that's being automatically disconnected by Cromo right before suspend. This seems like a good feature to have and should do for now although it just makes the race less likely to happen. Ideally: - Cromo should deregister the RPC Modem object as soon as it sees the state transitioning to suspend. But Cromo is going away... - ModemManager-next should handle delayed suspend (or shill should do that instead). BUG=chromium-os:32820 TEST=unit tests, tested on device Change-Id: I2a7bcf201bb7f7ca785e86a8d3abb7d28f767c74 Reviewed-on: https://gerrit.chromium.org/gerrit/28390 Tested-by: Darin Petkov <petkov@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Ready: Darin Petkov <petkov@chromium.org>