Fixed attestation prepare-for-enrollment logic.
There is a bug where the prepare-for-enrollment thread has already run
but it needs to run again. Previously the code assumed if the thread
ran then the work is done, now it will try again.
BUG=chromium:375270
TEST=unit, manually went through the enrollment process on a link
Change-Id: Ifb8b2517f0c14cd4e9c732da5655059e0db40def
Reviewed-on: https://chromium-review.googlesource.com/202124
Reviewed-by: Will Drewry <wad@chromium.org>
Commit-Queue: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
1 file changed