mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Fix build for kernel 5.0 and newer
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
77148c3879
commit
49e792766b
6 changed files with 22 additions and 18 deletions
|
@ -2863,6 +2863,7 @@ static void GetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
{
|
||||
case HW_VAR_BASIC_RATE:
|
||||
*((u16 *)(val)) = pHalData->BasicRateSet;
|
||||
__attribute__ ((__fallthrough__));
|
||||
case HW_VAR_TXPAUSE:
|
||||
val[0] = rtw_read8(Adapter, REG_TXPAUSE);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue