mirror_ubuntu-kernels/drivers/net/wireless/ath
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
..
ar5523 Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2019-10-03 16:39:51 +03:00
ath5k ath5k: eeprom: Remove unneeded variable 2019-10-31 10:21:54 +02:00
ath6kl net/wireless: Use kmemdup rather than duplicating its implementation 2019-10-02 07:16:10 +03:00
ath9k wireless-drivers-next patches for 5.5 2019-11-05 18:36:35 -08:00
ath10k ath10k: fix RX of frames with broken FCS in monitor mode 2019-11-25 14:13:25 +02:00
carl9170 mac80211: simplify TX aggregation start 2019-10-04 13:58:13 +02:00
wcn36xx wcn36xx: fix typo 2019-11-15 08:59:34 +02:00
wil6210 wil6210: fix break that is never reached because of zero'ing of a retry counter 2019-11-25 14:14:26 +02:00
ath.h ath: Remove unnecessary ath_bcast_mac and use eth_broadcast_addr 2018-03-29 12:10:26 +03:00
debug.c
dfs_pattern_detector.c ath: DFS JP domain W56 fixed pulse type 3 RADAR detection 2019-04-29 17:58:51 +03:00
dfs_pattern_detector.h ath: add support to get the detected radar specifications 2018-05-25 13:15:21 +03:00
dfs_pri_detector.c
dfs_pri_detector.h ath: add support to get the detected radar specifications 2018-05-25 13:15:21 +03:00
hw.c
Kconfig drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
key.c
main.c
Makefile ath: fix SPDX tags 2019-06-26 18:11:06 +03:00
reg.h
regd_common.h ath: regd: add extra US coutry codes 2019-02-07 17:02:19 +02:00
regd.c ath: rename regulatory rules 2019-10-14 11:38:57 +03:00
regd.h ath: drop duplicated define 2019-04-29 17:55:53 +03:00
spectral_common.h
trace.c
trace.h