commit | e3b365930b71247213d9bf12ceb57388b38106f3 | [log] [tgz] |
---|---|---|
author | Thieu Le <thieule@chromium.org> | Thu Aug 30 17:50:26 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Fri Aug 31 15:41:41 2012 -0700 |
tree | 1741e992a87cda2ca8e70c81e92670675c80a940 | |
parent | 3e7635ebb8f6e30dbcd28813b6124fdf29bbbe0a [diff] |
shill: Fix incorrect error initialization when enabling modem. CellularCapabilityUniversal::EnableModem() does not properly initialize the error value to kOperationInitiated before calling Enable(). This can cause shill to complete the modem Enable request multiple times, leading to a crash in shill. BUG=chromium-os:34070 TEST=Unit tests, network_3GModemControl Change-Id: Ib25c4f836bb612d32f82c86276dcbbf366431b34 Reviewed-on: https://gerrit.chromium.org/gerrit/31989 Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Ready: Thieu Le <thieule@chromium.org> Tested-by: Thieu Le <thieule@chromium.org>