mirror of
https://github.com/cilynx/rtl88x2bu
synced 2025-08-30 05:47:47 +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(
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user