diff options
author | Corey Minyard <cminyard@mvista.com> | 2016-10-27 10:12:18 -0500 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2016-11-07 12:15:27 -0600 |
commit | 5ac7b2fccd0cc2e1451d5d5388dad69e858fa0d4 (patch) | |
tree | 486c494e8a8b8a21575c36dea012f23cdcbaeca3 /drivers/char/ipmi | |
parent | 9c953d639c2fb97e4e96f7398acbf4b675713b76 (diff) | |
download | talos-obmc-linux-5ac7b2fccd0cc2e1451d5d5388dad69e858fa0d4.tar.gz talos-obmc-linux-5ac7b2fccd0cc2e1451d5d5388dad69e858fa0d4.zip |
ipmi: Periodically check for events, not messages
Commit d9b7e4f717a1 ("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>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index a112c0146012..cb451088a4af 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c @@ -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; } |