Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bead854b authored by Corey Minyard's avatar Corey Minyard Committed by Greg Kroah-Hartman
Browse files

ipmi:ssif: Add send_retries increment



commit 6ce7995a43febe693d4894033c6e29314970646a upstream.

A recent change removed an increment of send_retries, re-add it.

Fixes: 95767ed78a18 ipmi:ssif: resend_msg() cannot fail
Reported-by: default avatarPavel Machek <pavel@denx.de>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarCorey Minyard <minyard@acm.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f912907
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -562,8 +562,10 @@ static void retry_timeout(struct timer_list *t)

	if (waiting)
		start_get(ssif_info);
	if (resend)
	if (resend) {
		start_resend(ssif_info);
		ssif_inc_stat(ssif_info, send_retries);
	}
}

static void watch_timeout(struct timer_list *t)