Compilation fix for kernel 5.8

Avoid the redefinition of sha256_state struct
This commit is contained in:
fsantini 2020-08-18 08:07:37 +02:00 committed by GitHub
parent 0f925423c0
commit debb41d220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,6 +191,8 @@ struct security_priv
u8 bWepDefaultKeyIdxSet; u8 bWepDefaultKeyIdxSet;
}; };
/* fix compilation for 5.8 kernel to avoid redefinition of struct */
#define sha256_state sha256_state_rtl8812
struct sha256_state { struct sha256_state {
u64 length; u64 length;
u32 state[8], curlen; u32 state[8], curlen;