rtl8188eu: Fix build for kernel 5.0 and newer

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2019-10-16 11:47:29 -05:00
parent 77148c3879
commit 49e792766b
6 changed files with 22 additions and 18 deletions

View file

@ -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;