Commit eb6d78ec authored by Corey Minyard's avatar Corey Minyard Committed by Linus Torvalds
Browse files

ipmi: Reset the KCS timeout when starting error recovery

The OBF timer in KCS was not reset in one situation when error recovery
was started, resulting in an immediate timeout.
Reported-by: default avatarBodo Stroesser <>
Signed-off-by: default avatarCorey Minyard <>
Signed-off-by: default avatarLinus Torvalds <>
parent 48e8ac29
......@@ -251,6 +251,7 @@ static inline int check_obf(struct si_sm_data *kcs, unsigned char status,
if (!GET_STATUS_OBF(status)) {
kcs->obf_timeout -= time;
if (kcs->obf_timeout < 0) {
kcs->obf_timeout = OBF_RETRY_TIMEOUT;
start_error_recovery(kcs, "OBF not ready in time");
return 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment