aboutsummaryrefslogtreecommitdiff
path: root/hw/fsp/fsp-surveillance.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/fsp/fsp-surveillance.c')
-rw-r--r--hw/fsp/fsp-surveillance.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/fsp/fsp-surveillance.c b/hw/fsp/fsp-surveillance.c
index d774bea..0b7cc21 100644
--- a/hw/fsp/fsp-surveillance.c
+++ b/hw/fsp/fsp-surveillance.c
@@ -145,6 +145,7 @@ static void fsp_surv_got_param(uint32_t param_id __unused, int err_len,
return;
}
+ surv_state_param = be32_to_cpu((__be32)surv_state_param);
if (!(surv_state_param & 0x01)) {
prlog(PR_NOTICE, "SURV: Status from FSP: disabled\n");
return;