mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 04:23:39 +00:00
rtl8188eu: Fix build on kernel 5.8+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
db29c33e18
commit
979baf93cd
1 changed files with 2 additions and 0 deletions
|
@ -168,11 +168,13 @@ struct security_priv {
|
||||||
u8 bWepDefaultKeyIdxSet;
|
u8 bWepDefaultKeyIdxSet;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if LINUX_VERSION_CODE <= KERNEL_VERSION(5, 8, 0)
|
||||||
struct sha256_state {
|
struct sha256_state {
|
||||||
u64 length;
|
u64 length;
|
||||||
u32 state[8], curlen;
|
u32 state[8], curlen;
|
||||||
u8 buf[64];
|
u8 buf[64];
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst) \
|
#define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst) \
|
||||||
do { \
|
do { \
|
||||||
|
|
Loading…
Reference in a new issue