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:
Corey Minyard 2016-10-27 10:12:18 -05:00
parent 9c953d639c
commit 5ac7b2fccd
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}