ipmi: Reset response handler when failing to send the command
authorMarkus Boehme <markubo@amazon.com>
Mon, 7 Sep 2020 16:25:35 +0000 (18:25 +0200)
committerCorey Minyard <cminyard@mvista.com>
Tue, 15 Sep 2020 13:52:27 +0000 (08:52 -0500)
commit81e7571ea35e2b8b74b777ac8484818c8a984ea9
tree83b8892fea4cb61cc6390bc4a2135580fafab64e
parent8a00e56a14a706cdca9b2a575e7a709b641f3ce0
ipmi: Reset response handler when failing to send the command

When failing to send a command we don't expect a response. Clear the
`null_user_handler` like is done in the success path.

Signed-off-by: Markus Boehme <markubo@amazon.com>
Message-Id: <1599495937-10654-1-git-send-email-markubo@amazon.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c