commit | 910011207d66e14bf753d2783e131e7558126430 | [log] [tgz] |
---|---|---|
author | Gary Morain <gmorain@chromium.org> | Wed Feb 29 16:22:26 2012 -0800 |
committer | Gerrit <chrome-bot@google.com> | Thu Mar 01 09:56:45 2012 -0800 |
tree | 4480ce85c5bc74ed07fd2578a9b920f7efb617e7 | |
parent | caef8936381e9ae1fd765866e4759d42bbb19ad9 [diff] |
shill: WiFi device unregisters itself from the power manager This bug was found in VM testing where the same WiFi device is brought up and down multiple times. When the WiFi device is started, it registers with the power manager, but when it was stopped, it was no unregistering. When it started a second time, it tried to add itself again to the power manager, and the power manager complained that it was already registered. BUG=None TEST=All unit tests. Added a new expectation in WiFiMainTest to catch this problem. Change-Id: I52a3df7aaf66a702cf0ab5fed38057e9675c7fc6 Reviewed-on: https://gerrit.chromium.org/gerrit/17112 Reviewed-by: Thieu Le <thieule@chromium.org> Commit-Ready: Gary Morain <gmorain@chromium.org> Tested-by: Gary Morain <gmorain@chromium.org>