return EFI_SECURITY_VIOLATION;\r
}\r
} else {\r
- if (CurrentImageFmpInfo->Version < ImageFmpInfo->LowestSupportedImageVersion) {\r
+ if (ImageFmpInfo->Version < CurrentImageFmpInfo->LowestSupportedImageVersion) {\r
*LastAttemptStatus = LAST_ATTEMPT_STATUS_ERROR_INCORRECT_VERSION;\r
DEBUG((DEBUG_INFO, "LowestSupportedImageVersion check - fail\n"));\r
return EFI_SECURITY_VIOLATION;\r