mirror of
https://github.com/gnab/rtl8812au
synced 2025-01-09 10:01:35 +00:00
Merge pull request #174 from dankamongmen/master
Address two -Wimplicit-fallthrough issues for gcc
This commit is contained in:
commit
4f8a52461b
@ -2069,6 +2069,7 @@ static int rtw_ap_set_key(_adapter *padapter, u8 *key, u8 alg, int keyid, u8 set
|
|||||||
case _TKIP_WTMIC_:
|
case _TKIP_WTMIC_:
|
||||||
case _AES_:
|
case _AES_:
|
||||||
keylen = 16;
|
keylen = 16;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
keylen = 16;
|
keylen = 16;
|
||||||
}
|
}
|
||||||
|
@ -709,7 +709,7 @@ void mgt_dispatcher(_adapter *padapter, union recv_frame *precv_frame)
|
|||||||
ptable->func = &OnAuth;
|
ptable->func = &OnAuth;
|
||||||
else
|
else
|
||||||
ptable->func = &OnAuthClient;
|
ptable->func = &OnAuthClient;
|
||||||
//pass through
|
__attribute__ ((fallthrough));
|
||||||
case WIFI_ASSOCREQ:
|
case WIFI_ASSOCREQ:
|
||||||
case WIFI_REASSOCREQ:
|
case WIFI_REASSOCREQ:
|
||||||
_mgt_dispatcher(padapter, ptable, precv_frame);
|
_mgt_dispatcher(padapter, ptable, precv_frame);
|
||||||
|
Loading…
Reference in New Issue
Block a user