Correct model-specific error code checks for IERR logging
The model-specific error code holds a byte value that is a
specific code. The current logic incorrectly checks if bits
are set rather than checking the full code.
This changes the code to extract the error code byte and compare
the full value with the expected error codes.
Tested:
Injected an IERR and confirmed that the model-specific error code
is correctly checked.
Change-Id: I671109aecf1ae5bbf707adaefaf47e95f09ca248
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
1 file changed