Commit 60f09a49 authored by Soeren Moch's avatar Soeren Moch Committed by Greg Kroah-Hartman
Browse files

wifi: rtl8xxxu: retry firmware download on error



[ Upstream commit 3d3e28fe ]

Occasionally there is an EPROTO error during firmware download.
This error is converted to EAGAIN in the download function.
But nobody tries again and so device probe fails.

Implement download retry to fix this.

This error was observed (and fix tested) on a tbs2910 board [1]
with an embedded RTL8188EU (0bda:8179) device behind a USB hub.

[1] arch/arm/boot/dts/nxp/imx/imx6q-tbs2910.dts

Signed-off-by: default avatarSoeren Moch <smoch@web.de>
Acked-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250127194828.599379-1-smoch@web.de


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e7e61e09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment