ipmi: Fix attention handling for system interfaces
authorCorey Minyard <cminyard@mvista.com>
Wed, 19 Nov 2014 17:47:17 +0000 (11:47 -0600)
committerCorey Minyard <cminyard@mvista.com>
Thu, 11 Dec 2014 21:04:13 +0000 (15:04 -0600)
If an attention came in while handling a message response, it
could cause the state machine to go into the wrong mode and lock
things up if the state machine wasn't in normal mode.  So if the
state machine is not in normal mode, save the attention flag for
later.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Tony Rex <tony.rex@ericsson.com>
Tested-by: Magnus Johansson E <magnus.e.johansson@ericsson.com>
Cc: Per Fogelström <per.fogelstrom@ericsson.com>
drivers/char/ipmi/ipmi_si_intf.c

Simple merge