2
0
mirror of https://github.com/cilynx/rtl88x2bu synced 2025-08-30 13:58:00 +00:00

Change order of #if and #else

With this change the same condition can be reused, making it much easier
to understand how the two locations work together.
This commit is contained in:
Max Görner
2023-11-10 09:59:21 +01:00
parent c0ca835413
commit ae880439ef

View File

@@ -5361,10 +5361,10 @@ exit:
static int cfg80211_rtw_change_beacon( static int cfg80211_rtw_change_beacon(
struct wiphy *wiphy, struct wiphy *wiphy,
struct net_device *ndev, struct net_device *ndev,
#if LINUX_VERSION_CODE <= KERNEL_VERSION(6, 6, 0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0)
struct cfg80211_beacon_data *info
#else
struct cfg80211_ap_update *params struct cfg80211_ap_update *params
#else
struct cfg80211_beacon_data *info
#endif #endif
) { ) {
int ret = 0; int ret = 0;