Skip to content

Commit 31762c7

Browse files
authored
Merge pull request #78 from horseface1110/fix/get-tx-power-api-linux-6.14
Support Linux 6.14 by about get_tx_power
2 parents 9e3e6b5 + f5fe174 commit 31762c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vwifi.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2064,6 +2064,9 @@ static int vwifi_set_tx_power(struct wiphy *wiphy,
20642064
/* Get transmit power from the virtual interface */
20652065
static int vwifi_get_tx_power(struct wiphy *wiphy,
20662066
struct wireless_dev *wdev,
2067+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)
2068+
unsigned int link_id,
2069+
#endif
20672070
int *dbm)
20682071
{
20692072
struct vwifi_vif *vif = wdev_get_vwifi_vif(wdev);

0 commit comments

Comments
 (0)