diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2023-09-07 09:16:14 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-09-18 15:18:53 +0200 |
commit | 2e1b3ae3e1f2cf5a3c9c05d5f961d7d4257b489f (patch) | |
tree | f036e23b1be119f852ce744180db33cf47cfae75 /drivers/net/wireless/realtek/rtw88 | |
parent | rfkill: sync before userspace visibility/changes (diff) | |
download | linux-2e1b3ae3e1f2cf5a3c9c05d5f961d7d4257b489f.tar.xz linux-2e1b3ae3e1f2cf5a3c9c05d5f961d7d4257b489f.zip |
wifi: rtw88: rtw8723d: Fix MAC address offset in EEPROM
The MAC address is stored at offset 0x107 in the EEPROM, like correctly
stated in the comment. Add a two bytes reserved field right before the
MAC address to shift it from offset 0x105 to 0x107.
With this the MAC address returned from my RTL8723du wifi stick can be
correctly decoded as "Shenzhen Four Seas Global Link Network Technology
Co., Ltd."
Fixes: 87caeef032fc ("wifi: rtw88: Add rtw8723du chipset support")
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reported-by: Yanik Fuchs <Yanik.fuchs@mbv.ch>
Cc: stable@vger.kernel.org
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230907071614.2032404-1-s.hauer@pengutronix.de
Diffstat (limited to 'drivers/net/wireless/realtek/rtw88')
-rw-r--r-- | drivers/net/wireless/realtek/rtw88/rtw8723d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw88/rtw8723d.h b/drivers/net/wireless/realtek/rtw88/rtw8723d.h index 3642a2c7f80c..2434e2480cbe 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8723d.h +++ b/drivers/net/wireless/realtek/rtw88/rtw8723d.h @@ -46,6 +46,7 @@ struct rtw8723du_efuse { u8 vender_id[2]; /* 0x100 */ u8 product_id[2]; /* 0x102 */ u8 usb_option; /* 0x104 */ + u8 res5[2]; /* 0x105 */ u8 mac_addr[ETH_ALEN]; /* 0x107 */ }; |