Use kernel endian config
Remove custom vendor files. Reviewed-by: Giulio Benetti giulio.benetti@benettiengineering.com
This commit is contained in:

committed by
Carlos Garcés

parent
c68f509db8
commit
b3da33576d
@@ -11670,10 +11670,10 @@ static void printdata(u8 *pbuf, u32 len)
|
||||
}
|
||||
|
||||
if (i < len) {
|
||||
#ifdef CONFIG_BIG_ENDIAN
|
||||
#ifdef __BIG_ENDIAN
|
||||
for (; i < len, i++)
|
||||
printk("%02X", pbuf + i);
|
||||
#else /* CONFIG_LITTLE_ENDIAN */
|
||||
#else /* __LITTLE_ENDIAN */
|
||||
#if 0
|
||||
val = 0;
|
||||
_rtw_memcpy(&val, pbuf + i, len - i);
|
||||
@@ -11688,7 +11688,7 @@ static void printdata(u8 *pbuf, u32 len)
|
||||
n = (4 - n) * 2;
|
||||
printk("%8s", str + n);
|
||||
#endif
|
||||
#endif /* CONFIG_LITTLE_ENDIAN */
|
||||
#endif /* __BIG_ENDIAN */
|
||||
}
|
||||
printk("\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user