Skip to content

Commit 2e1b3ae

Browse files
saschahauerKalle Valo
authored andcommitted
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: 87caeef ("wifi: rtw88: Add rtw8723du chipset support") Signed-off-by: Sascha Hauer <[email protected]> Reported-by: Yanik Fuchs <[email protected]> Cc: [email protected] Acked-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 2c3dfba commit 2e1b3ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/wireless/realtek/rtw88/rtw8723d.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ struct rtw8723du_efuse {
4646
u8 vender_id[2]; /* 0x100 */
4747
u8 product_id[2]; /* 0x102 */
4848
u8 usb_option; /* 0x104 */
49+
u8 res5[2]; /* 0x105 */
4950
u8 mac_addr[ETH_ALEN]; /* 0x107 */
5051
};
5152

0 commit comments

Comments
 (0)