mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2025-10-13 20:36:03 +01:00
rtl8723ds: Fix fallthrough annotation
Signed-off-by: John-Eric Kamps <john-eric.kamps@honeywell.com>
This commit is contained in:
parent
2ca33c2b77
commit
17db5978f6
@ -1465,7 +1465,7 @@ void mgt_dispatcher(_adapter *padapter, union recv_frame *precv_frame)
|
||||
ptable->func = &OnAuth;
|
||||
else
|
||||
ptable->func = &OnAuthClient;
|
||||
/* pass through */
|
||||
__attribute__ ((__fallthrough__));/* FALL THRU */
|
||||
case WIFI_ASSOCREQ:
|
||||
case WIFI_REASSOCREQ:
|
||||
_mgt_dispatcher(padapter, ptable, precv_frame);
|
||||
|
@ -3576,6 +3576,7 @@ static void halbtc8723d1ant_psd_show_antenna_detect_result(IN struct btc_coexist
|
||||
case 11:
|
||||
CL_SPRINTF(cli_buf, BT_TMP_BUF_SIZE,
|
||||
"(BT is Disabled)");
|
||||
break;
|
||||
case 12:
|
||||
CL_SPRINTF(cli_buf, BT_TMP_BUF_SIZE,
|
||||
"(BT is available, result from BT");
|
||||
|
@ -4160,6 +4160,7 @@ static void halbtc8723d2ant_psd_show_antenna_detect_result(IN struct btc_coexist
|
||||
case 11:
|
||||
CL_SPRINTF(cli_buf, BT_TMP_BUF_SIZE,
|
||||
"(BT is Disabled)");
|
||||
break;
|
||||
case 12:
|
||||
CL_SPRINTF(cli_buf, BT_TMP_BUF_SIZE,
|
||||
"(BT is available, result from BT");
|
||||
|
@ -811,6 +811,7 @@ s32 c2h_handler(_adapter *adapter, u8 id, u8 seq, u8 plen, u8 *payload)
|
||||
|
||||
case C2H_EXTEND:
|
||||
sub_id = payload[0];
|
||||
__attribute__((__fallthrough__));
|
||||
/* no handle, goto default */
|
||||
|
||||
default:
|
||||
|
@ -1809,6 +1809,7 @@ static int cfg80211_rtw_change_iface(struct wiphy *wiphy,
|
||||
#if defined(CONFIG_P2P) && ((LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE))
|
||||
case NL80211_IFTYPE_P2P_CLIENT:
|
||||
is_p2p = _TRUE;
|
||||
__attribute__((__fallthrough__));
|
||||
#endif
|
||||
case NL80211_IFTYPE_STATION:
|
||||
networkType = Ndis802_11Infrastructure;
|
||||
@ -1833,6 +1834,7 @@ static int cfg80211_rtw_change_iface(struct wiphy *wiphy,
|
||||
#if defined(CONFIG_P2P) && ((LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE))
|
||||
case NL80211_IFTYPE_P2P_GO:
|
||||
is_p2p = _TRUE;
|
||||
__attribute__((__fallthrough__));
|
||||
#endif
|
||||
case NL80211_IFTYPE_AP:
|
||||
networkType = Ndis802_11APMode;
|
||||
|
Loading…
x
Reference in New Issue
Block a user