rtl8723ds: Fix fallthrough annotation

Signed-off-by: John-Eric Kamps <john-eric.kamps@honeywell.com>
This commit is contained in:
John-Eric Kamps
2020-04-11 08:51:45 +02:00
parent 2ca33c2b77
commit 17db5978f6
5 changed files with 6 additions and 1 deletions

View File

@@ -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;