Files
linux/drivers/net/wireless/ath/wil6210
Colin Ian King 88c967ce4a wil6210: fix break that is never reached because of zero'ing of a retry counter
[ Upstream commit 5b1413f00b ]

There is a check on the retry counter invalid_buf_id_retry that is always
false because invalid_buf_id_retry is initialized to zero on each iteration
of a while-loop.  Fix this by initializing the retry counter before the
while-loop starts.

Addresses-Coverity: ("Logically dead code")
Fixes: b4a967b7d0 ("wil6210: reset buff id in status message after completion")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:37:59 +01:00
..
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-06-26 18:11:06 +03:00
2019-10-31 10:16:10 +02:00
2019-06-26 18:11:06 +03:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00
2019-10-31 10:16:10 +02:00