mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 02:20:48 +00:00
Even if we set the rtc alarm timeout for more than 86400 secs, we should not crash the system. BUG=chromium:768042 BRANCH=none TEST=on AP console, do 'ectool rtcsetalarm 99999' and then see 'EC result 3 (INVALID_PARAM)' without crash. Change-Id: Ic0fa92ff101bce1f4791221c4e1eadaf7a005355 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/807624 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>