rtl8188eu: Fis fall-through warning

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2019-09-28 13:14:03 -05:00
parent 95a4b1ec29
commit 2525cdee47

View file

@ -1923,6 +1923,7 @@ static void GetHwReg8188EU(struct adapter *Adapter, u8 variable, u8 *val)
switch (variable) { switch (variable) {
case HW_VAR_BASIC_RATE: case HW_VAR_BASIC_RATE:
*((u16 *)(val)) = haldata->BasicRateSet; *((u16 *)(val)) = haldata->BasicRateSet;
__attribute__((fallthrough));
case HW_VAR_TXPAUSE: case HW_VAR_TXPAUSE:
val[0] = rtw_read8(Adapter, REG_TXPAUSE); val[0] = rtw_read8(Adapter, REG_TXPAUSE);
break; break;