summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2016-10-27 10:12:18 -0500
committerCorey Minyard <cminyard@mvista.com>2016-11-07 12:15:27 -0600
commit5ac7b2fccd0cc2e1451d5d5388dad69e858fa0d4 (patch)
tree486c494e8a8b8a21575c36dea012f23cdcbaeca3 /drivers/char
parent9c953d639c2fb97e4e96f7398acbf4b675713b76 (diff)
downloadlinux-5ac7b2fccd0cc2e1451d5d5388dad69e858fa0d4.tar.gz
linux-5ac7b2fccd0cc2e1451d5d5388dad69e858fa0d4.tar.bz2
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')
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c4
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;
}