2
0
mirror of https://github.com/cilynx/rtl88x2bu synced 2025-08-22 02:01:55 +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(
struct wiphy *wiphy,
struct net_device *ndev,
#if LINUX_VERSION_CODE <= KERNEL_VERSION(6, 6, 0)
struct cfg80211_beacon_data *info
#else
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0)
struct cfg80211_ap_update *params
#else
struct cfg80211_beacon_data *info
#endif
) {
int ret = 0;