Skip to content

Commit

Permalink
wifi: mt76: mt792x: fix ethtool warning
Browse files Browse the repository at this point in the history
[ Upstream commit 7b4f9cd ]

Add a missing EHT related field to fix the following ethtool warning:
[98179.287352] mt7921e 0003:01:00.0: ei: 74  SSTATS_LEN: 73

Fixes: c74df1c ("wifi: mt76: mt792x: introduce mt792x-lib module")
Signed-off-by: Gen Xu <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
gen-xu authored and Sasha Levin committed Mar 26, 2024
1 parent 4bb175d commit cb8ae15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/mediatek/mt76/mt792x_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ static const char mt792x_gstrings_stats[][ETH_GSTRING_LEN] = {
"v_tx_bw_40",
"v_tx_bw_80",
"v_tx_bw_160",
"v_tx_bw_320",
"v_tx_mcs_0",
"v_tx_mcs_1",
"v_tx_mcs_2",
Expand Down

0 comments on commit cb8ae15

Please sign in to comment.