linux/drivers/net/wireless/marvell
Dan Carpenter 394f0ed531 mwifiex: fix loop timeout in mwifiex_prog_fw_w_helper()
USB8XXX_FW_MAX_RETRY is 3.  We were using a post-op loop
"while (retries--) {" but then the lines after that assume the loop
exits with retries set to zero.

I've fixed this by changing to a pre-op loop.  I started with retries
set to 4 instead of 3 so that we still go through the loop the same
number of times.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-04-26 12:28:56 +03:00
..
libertas cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
libertas_tf cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
mwifiex mwifiex: fix loop timeout in mwifiex_prog_fw_w_helper() 2016-04-26 12:28:56 +03:00
Kconfig
Makefile
mwl8k.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00