mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
fix: add Linux 6.17+ compatibility for get_tx_power callback
Add radio_idx and changed parameters to rwnx_cfg80211_get_tx_power function to match the updated cfg80211 API signature introduced in Linux 6.17+. This fixes compilation errors on kernel 6.19 and later versions. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.5
parent
6a2d56d055
commit
f2e73a92ab
@@ -4513,6 +4513,10 @@ int radio_idx,
|
||||
static int rwnx_cfg80211_get_tx_power(struct wiphy *wiphy,
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)
|
||||
struct wireless_dev *wdev,
|
||||
#endif
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0)
|
||||
int radio_idx,
|
||||
unsigned int changed,
|
||||
#endif
|
||||
int *mbm)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user