mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 14:03:40 +00:00
r8188eu: Fix reading of EEPROM on big-endian hardware
Signed-off-by: Larry Finger <l]Larry.Finger@lwfinger.net>
This commit is contained in:
parent
18c80911a2
commit
486757db0d
1 changed files with 2 additions and 2 deletions
|
@ -245,8 +245,8 @@ static void efuse_read_phymap_from_txpktbuf(
|
||||||
rtw_usleep_os(100);
|
rtw_usleep_os(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
lo32 = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_L);
|
lo32 = le32_to_cpu((__le32)rtw_read32(adapter, REG_PKTBUF_DBG_DATA_L));
|
||||||
hi32 = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_H);
|
hi32 = le32_to_cpu((__le32)rtw_read32(adapter, REG_PKTBUF_DBG_DATA_H));
|
||||||
|
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
u8 lenc[2];
|
u8 lenc[2];
|
||||||
|
|
Loading…
Reference in a new issue