commit | 8bf6a5c1b559d57fe448132cfff5795a14cf9685 | [log] [tgz] |
---|---|---|
author | Arman Uguray <armansito@chromium.org> | Mon Aug 12 14:18:03 2013 -0700 |
committer | ChromeBot <chrome-bot@google.com> | Wed Aug 14 23:16:08 2013 -0700 |
tree | 68deb347e113c2fdc5f31abbd0df4b55cb30f575 | |
parent | 6cfe53faf6c6406e1f7695bdbec26c38e9dd1553 [diff] |
shill: Fix misleading error log in Device::SetEnabled. There is a conditional error line in Device::SetEnabled that shouldn't send an error log if an enable is in progress. The code checks for Error::kOperationInitiated but not for Error::kInProgress, while the code path usually prefers the latter. BUG=chromium:271505 TEST=shill shouldn't log "Enable failed, but no way to report the failure.", if an enable operation is already in progress. Change-Id: I9b75097e052438b4dd0e96f44bb5c867dfd3e9d0 Reviewed-on: https://gerrit.chromium.org/gerrit/65617 Reviewed-by: Ben Chan <benchan@chromium.org> Tested-by: Arman Uguray <armansito@chromium.org> Commit-Queue: Arman Uguray <armansito@chromium.org>