소스 검색

Merge pull request #204 from fsantini/patch-1

Compilation fix for kernel 5.8
Ole Petter Bang 5 년 전
부모
커밋
3bcb4abfce
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;