Skip to content

Commit

Permalink
mt76: mt7615: fix tx power reporting
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Feb 11, 2020
1 parent 9c43417 commit 764e1d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mt7615/mcu.c
Expand Up @@ -1603,6 +1603,8 @@ static void mt7615_mcu_set_txpower_sku(struct mt7615_phy *phy, u8 *sku)
int i;

tx_power = hw->conf.power_level * 2 - nss_delta[n_chains - 1];
mphy->txpower_cur = tx_power;

for (i = 0; i < MT_SKU_1SS_DELTA; i++)
sku[i] = tx_power;

Expand Down

0 comments on commit 764e1d2

Please sign in to comment.