projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
364bea5
)
mt76x2: eeprom: fix typo in mt76x2_get_power_info_5g()
author
Lorenzo Bianconi
<
[email protected]
>
Thu, 14 Dec 2017 10:46:02 +0000
(11:46 +0100)
committer
Kalle Valo
<
[email protected]
>
Mon, 8 Jan 2018 17:29:40 +0000
(19:29 +0200)
Fix typo in 5GHz power vs channel eeprom parsing
Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e")
Signed-off-by: Lorenzo Bianconi <
[email protected]
>
Acked-by: Felix Fietkau <
[email protected]
>
Reported-by: Colin Ian King <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c
b/drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c
index 99049e43ccaf40673c7936deff96d66820181b09..9c9bf3e785ba9633f80a56af8608a92b99adb81e 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c
@@
-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 >=
4
84)
+ else if (channel >=
1
84)
delta_idx = 3;
else if (channel < 44)
delta_idx = 3;