1
0
mirror of https://github.com/Mange/rtl8192eu-linux-driver synced 2025-03-31 04:13:35 +00:00

Merge pull request from etzngr/realtek-4.4.x

Fix build for Kernel 6.13 and 6.14
This commit is contained in:
Carlos Garcés 2025-02-23 22:11:55 +01:00 committed by GitHub
commit 73f5c4359a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4204,6 +4204,9 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy,
static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
struct wireless_dev *wdev,
#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0))
unsigned int link_id,
#endif
int *dbm)
{
@ -6000,7 +6003,10 @@ static int cfg80211_rtw_set_channel(struct wiphy *wiphy
}
static int cfg80211_rtw_set_monitor_channel(struct wiphy *wiphy
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0))
, struct net_device *dev
, struct cfg80211_chan_def *chandef
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
, struct cfg80211_chan_def *chandef
#else
, struct ieee80211_channel *chan