commit | 19f83971a35d7f2c7b08aae6eb0abdc8e52ba057 | [log] [tgz] |
---|---|---|
author | Ben Chan <benchan@chromium.org> | Wed Oct 03 23:25:56 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Thu Oct 04 01:23:53 2012 -0700 |
tree | cc2d1545a9e2794046689d9d05b2376b46412df7 | |
parent | 09cb66848e842fea636391998b60d829fd4f8e48 [diff] |
shill: cellular: Suppress auto-connect when device is not running. When a cellular device is being disabled, it may disconnect a connected cellular service. However, shill may try to auto-connect the service before the service is destroyed. To avoid such a race, this CL makes a cellular service not auto-connectable when the cellular device is not running. BUG=chromium-os:34182 TEST=Tested the following: 1. Build and run unit tests. 2. After connecting to a cellular network, disable the cellular technology and verify that shill does not try to auto-connect the cellular service while the cellular device is being disabled. Change-Id: I4ce18dfc416984c607976a183100779b645ebbcb Reviewed-on: https://gerrit.chromium.org/gerrit/34497 Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Darin Petkov <petkov@chromium.org> Commit-Ready: Ben Chan <benchan@chromium.org>