mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-17 02:23:05 +00:00
Fix build with Linux 6.14
Commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7a53af85d3bbdbe06cd47b81a6d99a04dc0a3963 adds argument "unsigned int link_id" to get_tx_power(), so let's add it to cfg80211_rtw_get_txpower() according to Linux version. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
This commit is contained in:
parent
408ac4abdd
commit
0363681349
1 changed files with 3 additions and 0 deletions
|
@ -3240,6 +3240,9 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy,
|
||||||
static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
|
static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
|
||||||
struct wireless_dev *wdev,
|
struct wireless_dev *wdev,
|
||||||
|
#endif
|
||||||
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0))
|
||||||
|
unsigned int link_id,
|
||||||
#endif
|
#endif
|
||||||
int *dbm)
|
int *dbm)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue