rtl8188eu: Fix "fall through" warnings

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2019-08-01 14:39:02 -05:00
parent ddd5974ad2
commit 52853162f7
3 changed files with 4 additions and 3 deletions

View file

@ -1749,6 +1749,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));/* FALL THRU */
#endif
case NL80211_IFTYPE_STATION:
networkType = Ndis802_11Infrastructure;
@ -1773,6 +1774,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));/* FALL THRU */
#endif
case NL80211_IFTYPE_AP:
networkType = Ndis802_11APMode;