ipmi: Periodically check for events, not messages
authorCorey Minyard <cminyard@mvista.com>
Thu, 27 Oct 2016 15:12:18 +0000 (10:12 -0500)
committerCorey Minyard <cminyard@mvista.com>
Mon, 7 Nov 2016 18:15:27 +0000 (12:15 -0600)
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>
drivers/char/ipmi/ipmi_si_intf.c

index a112c0146012e2ba1fb58b54be59d758d0349108..cb451088a4afcb4b97b53fe61727000ffd935f61 100644 (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;
                }