Pārlūkot izejas kodu

Compilation fix for kernel 5.8

Avoid the redefinition of sha256_state struct
fsantini 5 gadi atpakaļ
vecāks
revīzija
debb41d220
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      include/rtw_security.h

+ 2 - 0
include/rtw_security.h

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