Fixed 'implicit-fallthrough' warning

By adding an explict comment saying 'Intentional fallthrough' you hint
at the compiler that it isn't an error/omission, but you explicitly want
that (feature).
This commit is contained in:
Christian B 2018-03-19 20:20:58 +01:00 committed by GitHub
parent 22a2b061ae
commit ca6ba8ef08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1424,6 +1424,7 @@ void mgt_dispatcher(_adapter *padapter, union recv_frame *precv_frame)
ptable->func = &OnAuth;
} else
ptable->func = &OnAuthClient;
/* Intentional fallthrough */
/* pass through */
case WIFI_ASSOCREQ:
case WIFI_REASSOCREQ: