1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-22 21:34:37 +00:00

Use endian macros from kernel

This commit is contained in:
Christian kimocoder 2017-10-24 15:05:17 +02:00 committed by GitHub
parent d2300a2790
commit 5a09d2cbce

View File

@ -197,7 +197,7 @@ struct intf_hdl {
struct reg_protocol_rd {
#ifdef CONFIG_LITTLE_ENDIAN
#ifdef __LITTLE_ENDIAN
/* DW1 */
u32 NumOfTrans:4;
@ -255,7 +255,7 @@ struct reg_protocol_rd {
struct reg_protocol_wt {
#ifdef CONFIG_LITTLE_ENDIAN
#ifdef __LITTLE_ENDIAN
/* DW1 */
u32 NumOfTrans:4;