rtl8188eu: Fix build with kernel 5.4

Beginning with 5.4.0-rc3, a macro is defined for "fallthrough". For
that reason, the attribute statement must use __fallthrough__ instead.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2019-10-16 11:18:37 -05:00
parent 5342fb8368
commit a0e9c1dfc6
3 changed files with 4 additions and 4 deletions

View file

@ -1400,7 +1400,7 @@ void mgt_dispatcher(_adapter *padapter, union recv_frame *precv_frame)
ptable->func = &OnAuth;
else
ptable->func = &OnAuthClient;
__attribute__ ((fallthrough));/* FALL THRU */
__attribute__ ((__fallthrough__));/* FALL THRU */
case WIFI_ASSOCREQ:
case WIFI_REASSOCREQ:
_mgt_dispatcher(padapter, ptable, precv_frame);