Files
OpenCellular/util
Bill Richardson 34e5148a45 Retry ectool commands that return EC_RES_IN_PROGRESS
This came up when testing issue 242706. If you tell the EC to return
EC_RES_IN_PROGRESS, then the EC gets stuck and times out on the next
command.

I'm not entirely sure what the correct response should be, but I think that
the EC might not be doing the right thing either. In any event, this keeps
it from getting stuck.

BUG=none
BRANCH=none
TEST=manual

Try

  ectool test 8 14
  ectool test 0 14

The first command fails because we told it to, but the second command also
fails because the EC is expecting something else.

After this change, the second command works.

Change-Id: I513294396cff872018316c354d2c41953eb6fdf6
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/59661
2013-07-03 14:22:00 -07:00
..
2012-08-10 09:28:34 -07:00
2013-07-01 16:14:16 -07:00
2013-07-01 16:14:16 -07:00
2012-11-01 14:09:34 -07:00
2013-07-01 16:14:16 -07:00
2013-07-01 16:14:16 -07:00
2012-07-10 00:35:58 -07:00