ipmi: decrease the IPMI message transaction time in interrupt mode
[~shefty/rdma-dev.git] / drivers / char / ipmi / ipmi_si_intf.c
index 50fcf9c04569a18007816dc322382103a604c542..73ebbb1a3269c3f2ef8e5380ba5800778fd74fef 100644 (file)
@@ -932,8 +932,10 @@ static void sender(void                *send_info,
        spin_unlock_irqrestore(&smi_info->msg_lock, flags);
 
        spin_lock_irqsave(&smi_info->si_lock, flags);
        spin_unlock_irqrestore(&smi_info->msg_lock, flags);
 
        spin_lock_irqsave(&smi_info->si_lock, flags);
-       if (smi_info->si_state == SI_NORMAL && smi_info->curr_msg == NULL)
+       if (smi_info->si_state == SI_NORMAL && smi_info->curr_msg == NULL) {
                start_next_msg(smi_info);
                start_next_msg(smi_info);
+               smi_event_handler(smi_info, 0);
+       }
        spin_unlock_irqrestore(&smi_info->si_lock, flags);
 }
 
        spin_unlock_irqrestore(&smi_info->si_lock, flags);
 }