wifi: rtl8xxxu: Dump the efuse only for untested devices
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Tue, 10 Jan 2023 15:42:39 +0000 (17:42 +0200)
committerKalle Valo <kvalo@kernel.org>
Mon, 16 Jan 2023 16:28:15 +0000 (18:28 +0200)
commitde7d0ff301fccc75281d7d8eb98c4a47faacf32d
tree4492846c3c724e40fe358174072ee82f7d993ab4
parentaa1a49268951753837923eeb869269b08b8025d2
wifi: rtl8xxxu: Dump the efuse only for untested devices

It appears this was the intention all along, but commit 3307d84024d2
("rtl8xxxu: Add initial code to parse rtl8192eu efuse") initialised
rtl8xxxu_debug with RTL8XXXU_DEBUG_EFUSE for no apparent reason, which
made it dump the efuse for all devices, even the tested ones.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/d53fcf97-d6d2-3c75-14d5-97b58a5f3a6c@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c