mirror of
https://github.com/aircrack-ng/rtl8188eus.git
synced 2026-10-22 13:28:13 +00:00
Added kernel v5.4 support + better handling of fallthroughs
This commit is contained in:
1 parent
31127cea4a
commit
d2415df515
5 files changed
+9
-18
No files matched your search
@@ -2367,6 +2367,7 @@ static int cfg80211_rtw_change_iface(struct wiphy *wiphy,
|
||||
case NL80211_IFTYPE_P2P_CLIENT:
|
||||
is_p2p = _TRUE;
|
||||
#endif
|
||||
__attribute__ ((__fallthrough__));
|
||||
case NL80211_IFTYPE_STATION:
|
||||
networkType = Ndis802_11Infrastructure;
|
||||
|
||||
@@ -2391,6 +2392,7 @@ static int cfg80211_rtw_change_iface(struct wiphy *wiphy,
|
||||
case NL80211_IFTYPE_P2P_GO:
|
||||
is_p2p = _TRUE;
|
||||
#endif
|
||||
__attribute__ ((__fallthrough__));
|
||||
case NL80211_IFTYPE_AP:
|
||||
networkType = Ndis802_11APMode;
|
||||
|
||||
|
||||
Reference in new issue
Block a user