diff options
-rw-r--r-- | firmware/2lib/2ec_sync.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/2lib/2ec_sync.c b/firmware/2lib/2ec_sync.c index aa06303b..24de0e20 100644 --- a/firmware/2lib/2ec_sync.c +++ b/firmware/2lib/2ec_sync.c @@ -453,10 +453,10 @@ vb2_error_t vb2api_ec_sync(struct vb2_context *ctx) vb2_error_t rv; /* - * If the flags indicate that the EC has already gone through + * If the status indicates that the EC has already gone through * software sync this boot, then don't do it again. */ - if (sd->flags & VB2_SD_STATUS_EC_SYNC_COMPLETE) { + if (sd->status & VB2_SD_STATUS_EC_SYNC_COMPLETE) { VB2_DEBUG("EC software sync already performed this boot, skipping\n"); return VB2_SUCCESS; } @@ -494,7 +494,7 @@ vb2_error_t vb2api_ec_sync(struct vb2_context *ctx) return rv; /* Establish that EC software sync is complete and successful */ - sd->flags |= VB2_SD_STATUS_EC_SYNC_COMPLETE; + sd->status |= VB2_SD_STATUS_EC_SYNC_COMPLETE; return VB2_SUCCESS; } |