Rework patch to support backports package based on kernel 6.18. Link: https://github.com/openwrt/openwrt/pull/20964 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
12 lines
484 B
Diff
12 lines
484 B
Diff
--- a/os_dep/linux/ioctl_cfg80211.c
|
|
+++ b/os_dep/linux/ioctl_cfg80211.c
|
|
@@ -3184,7 +3184,7 @@ static int cfg80211_rtw_set_txpower(stru
|
|
|
|
static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
|
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0))
|
|
- struct wireless_dev *wdev, int radio_idx,
|
|
+ struct wireless_dev *wdev, int radio_idx, unsigned int link_id,
|
|
#endif
|
|
int *dbm)
|
|
{
|