mirror of https://gitee.com/openkylin/linux.git
ipmi: Periodically check for events, not messages
Commit d9b7e4f717
("ipmi: Periodically check to see if irqs and
messages are set right") to verify the contents of global events.
However, the wrong function was being called in some cases, checking
for messages, not events.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Jason DiPietro <J.DiPietro@F5.com>
This commit is contained in:
parent
9c953d639c
commit
5ac7b2fccd
|
@ -789,7 +789,7 @@ static void handle_transaction_done(struct smi_info *smi_info)
|
|||
smi_info->si_state = SI_NORMAL;
|
||||
break;
|
||||
}
|
||||
start_getting_msg_queue(smi_info);
|
||||
start_getting_events(smi_info);
|
||||
} else {
|
||||
smi_info->si_state = SI_NORMAL;
|
||||
}
|
||||
|
@ -812,7 +812,7 @@ static void handle_transaction_done(struct smi_info *smi_info)
|
|||
smi_info->si_state = SI_NORMAL;
|
||||
break;
|
||||
}
|
||||
start_getting_msg_queue(smi_info);
|
||||
start_getting_events(smi_info);
|
||||
} else {
|
||||
smi_info->si_state = SI_NORMAL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue