|
@@ -2350,7 +2350,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))
|
|
#if defined(CONFIG_P2P) && ((LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE))
|
|
|
case NL80211_IFTYPE_P2P_CLIENT:
|
|
case NL80211_IFTYPE_P2P_CLIENT:
|
|
|
is_p2p = _TRUE;
|
|
is_p2p = _TRUE;
|
|
|
- __attribute__ ((fallthrough));
|
|
|
|
|
|
|
+ __attribute__((__fallthrough__));
|
|
|
#endif
|
|
#endif
|
|
|
case NL80211_IFTYPE_STATION:
|
|
case NL80211_IFTYPE_STATION:
|
|
|
networkType = Ndis802_11Infrastructure;
|
|
networkType = Ndis802_11Infrastructure;
|
|
@@ -2375,7 +2375,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))
|
|
#if defined(CONFIG_P2P) && ((LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE))
|
|
|
case NL80211_IFTYPE_P2P_GO:
|
|
case NL80211_IFTYPE_P2P_GO:
|
|
|
is_p2p = _TRUE;
|
|
is_p2p = _TRUE;
|
|
|
- __attribute__ ((fallthrough));
|
|
|
|
|
|
|
+ __attribute__((__fallthrough__));
|
|
|
#endif
|
|
#endif
|
|
|
case NL80211_IFTYPE_AP:
|
|
case NL80211_IFTYPE_AP:
|
|
|
networkType = Ndis802_11APMode;
|
|
networkType = Ndis802_11APMode;
|