]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtl8xxxu: Dump the efuse right after reading it
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Thu, 9 Oct 2025 11:53:37 +0000 (14:53 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 21 Oct 2025 06:44:33 +0000 (14:44 +0800)
commitfb5183aa65f6af7bc63869ad7f7d0e6505a80a58
tree6c98eb6954da409581f21713260b90ef5ff7065e
parent7aeb8c118ef9c7a19ca9c22a2984f1d6653eff84
wifi: rtl8xxxu: Dump the efuse right after reading it

Someone reported a problem with their TP-Link WN722N (RTL8188EUS):

usb 1-1: This Realtek USB WiFi dongle (0x2357:0x010c) is untested!
usb 1-1: Please report results to Jes.Sorensen@gmail.com
usb 1-1: Fatal - failed to parse EFuse
rtl8xxxu: probe of 1-1:1.0 failed with error -22

This error can happen when the first two bytes of the efuse don't have
the expected magic value of 0x8129. In a situation like this it could
be useful to see the contents of the efuse.

Dump the efuse right after reading it, before trying to parse it.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/1f544dc4-17f6-4401-995d-5cb4567b82fa@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/core.c