Skip to content

Commit

Permalink
Fix compilation on kernel 5.4.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
MJaoune committed Jan 7, 2020
1 parent 9cf9443 commit f136e53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/rtw_mlme_ext.c
Expand Up @@ -709,7 +709,11 @@ void mgt_dispatcher(_adapter *padapter, union recv_frame *precv_frame)
ptable->func = &OnAuth;
else
ptable->func = &OnAuthClient;
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
__attribute__ ((fallthrough));
#else
__attribute__ ((__fallthrough__));
#endif
case WIFI_ASSOCREQ:
case WIFI_REASSOCREQ:
_mgt_dispatcher(padapter, ptable, precv_frame);
Expand Down

0 comments on commit f136e53

Please sign in to comment.