]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wifi: rtl8xxxu: RTL8192EU always needs full init
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Mon, 13 Mar 2023 13:42:59 +0000 (15:42 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 Jul 2023 10:17:13 +0000 (12:17 +0200)
commitd796ca30d62bdadf287f3a15dd4ff4650af02713
treef976ec1f1f731d2ffb66e7c1d28185c634ef1488
parent82aa4b17ea73dbb1bc1e47b751628c4eb4aa25bc
wifi: rtl8xxxu: RTL8192EU always needs full init

BugLink: https://bugs.launchpad.net/bugs/2025067
commit d46e04ccd40457a0119b76e11ab64a2ad403e138 upstream.

Always run the entire init sequence (rtl8xxxu_init_device()) for
RTL8192EU. It's what the vendor driver does too.

This fixes a bug where the device is unable to connect after
rebooting:

wlp3s0f3u2: send auth to ... (try 1/3)
wlp3s0f3u2: send auth to ... (try 2/3)
wlp3s0f3u2: send auth to ... (try 3/3)
wlp3s0f3u2: authentication with ... timed out

Rebooting leaves the device powered on (partially? at least the
firmware is still running), but not really in a working state.

Cc: stable@vger.kernel.org
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Jes Sorensen <jes@trained-monkey.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/4eb111a9-d4c4-37d0-b376-4e202de7153c@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c