linux_dsm_epyc7002/drivers/net/wireless/ath/wil6210
Colin Ian King 5b1413f00b wil6210: fix break that is never reached because of zero'ing of a retry counter
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>
2019-11-25 14:14:26 +02:00
..
boot_loader.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
cfg80211.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
debug.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
debugfs.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
ethtool.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
fw_inc.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
fw.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
fw.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
interrupt.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
Kconfig ath: fix SPDX tags 2019-06-26 18:11:06 +03:00
main.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
Makefile ath: fix SPDX tags 2019-06-26 18:11:06 +03:00
netdev.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
p2p.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
pcie_bus.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
pm.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
pmc.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
pmc.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
rx_reorder.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
trace.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
trace.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
txrx_edma.c wil6210: fix break that is never reached because of zero'ing of a retry counter 2019-11-25 14:14:26 +02:00
txrx_edma.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
txrx.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
txrx.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
wil6210.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
wil_crash_dump.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
wil_platform.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
wil_platform.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
wmi.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
wmi.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00