commit | 1a127125de1ef5bc040008fb7b39ddd90fa81096 | [log] [tgz] |
---|---|---|
author | Samuel Tan <samueltan@chromium.org> | Tue May 12 17:43:46 2015 -0700 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Thu May 14 01:08:38 2015 +0000 |
tree | 5df2b69e607cb83856cc4bb48f8e824a026be83f | |
parent | 208a97ed32c62bc11b0a20eaf01833482e8c0fbc [diff] |
shill: report wakeup reason received metrics only after error checking Only report to metrics that a wakeup reason has been received after we are sure that the broadcast message passed to WakeOnWiFi::OnWakeupReasonReceived is a valid wakeup reason message for its respective interface. BUG=None TEST=Compile shill and run unit tests. Change-Id: I82b0aa3c19c62a014d7f5af9093bc11325d5a1f6 Reviewed-on: https://chromium-review.googlesource.com/270551 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Samuel Tan <samueltan@chromium.org> Tested-by: Samuel Tan <samueltan@chromium.org>