rtl8188eu: Fix build on kernel 5.8+

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2020-08-29 14:40:17 -05:00
parent db29c33e18
commit 979baf93cd

View file

@ -168,11 +168,13 @@ struct security_priv {
u8 bWepDefaultKeyIdxSet;
};
#if LINUX_VERSION_CODE <= KERNEL_VERSION(5, 8, 0)
struct sha256_state {
u64 length;
u32 state[8], curlen;
u8 buf[64];
};
#endif
#define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst) \
do { \