Skip to content

Commit

Permalink
mt76x2: eeprom: fix typo in mt76x2_get_power_info_5g()
Browse files Browse the repository at this point in the history
Fix typo in 5GHz power vs channel eeprom parsing

Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
  • Loading branch information
LorenzoBianconi authored and nbd168 committed Dec 14, 2017
1 parent 2d4b8f5 commit 4ca8bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mt76x2_eeprom.c
Expand Up @@ -536,7 +536,7 @@ mt76x2_get_power_info_5g(struct mt76x2_dev *dev, struct mt76x2_tx_power_info *t,

if (channel >= 192)
delta_idx = 4;
else if (channel >= 484)
else if (channel >= 184)
delta_idx = 3;
else if (channel < 44)
delta_idx = 3;
Expand Down

0 comments on commit 4ca8bba

Please sign in to comment.