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:
parent
c0ca835413
commit
ae880439ef
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user