提交 b2234ee9 编写于 作者: C Corey Minyard

ipmi: Add a comment in how messages are delivered from the lower layer

To avoid confusion in the future.
Signed-off-by: NCorey Minyard <cminyard@mvista.com>
上级 cca85f19
......@@ -3959,6 +3959,10 @@ void ipmi_smi_msg_received(ipmi_smi_t intf,
if (!run_to_completion)
spin_lock_irqsave(&intf->xmit_msgs_lock, flags);
/*
* We can get an asynchronous event or receive message in addition
* to commands we send.
*/
if (msg == intf->curr_msg)
intf->curr_msg = NULL;
if (!run_to_completion)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册