Skip to content

Commit

Permalink
Merge pull request gnab#204 from fsantini/patch-1
Browse files Browse the repository at this point in the history
Compilation fix for kernel 5.8
  • Loading branch information
gnab authored Aug 18, 2020
2 parents 0f92542 + debb41d commit 3bcb4ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/rtw_security.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3bcb4ab

Please sign in to comment.