mt76x2: eeprom: fix typo in mt76x2_get_power_info_5g()
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 mt76x2: eeprom: fix typo in mt76x2_get_power_info_5g()
Fix typo in 5GHz power vs channel eeprom parsing
--- drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c +1 -1
@@ -524,7 +524,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 ;
Signature · 1 line
2.13.6
Quoted 4 lines · Lorenzo Bianconi
Fix typo in 5GHz power vs channel eeprom parsing
Fixes 7bc04215a66b ("mt76: add driver code for MT76x2e")Signed-off-by Lorenzo Bianconi <[email protected]>
Quoted 14 lines · Lorenzo Bianconi
Fix typo in 5GHz power vs channel eeprom parsing
Fixes 7bc04215a66b ("mt76: add driver code for MT76x2e")Signed-off-by Lorenzo Bianconi <[email protected]>--- drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c +0
-0
drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c mt76x2_get_power_info_5g(struct mt76x2_dev *dev, struct mt76x2_tx_power_info *t, · line 530
Quoted 8 lines
drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c +1
-1@@ -524,7 +524,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 ;
any possibility of adding:
Quoted 25 lines · Colin Ian King
Quoted 14 lines · Lorenzo Bianconi
Fix typo in 5GHz power vs channel eeprom parsing
Fixes 7bc04215a66b ("mt76: add driver code for MT76x2e")Signed-off-by Lorenzo Bianconi <[email protected]>--- drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c +0
-0drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c mt76x2_get_power_info_5g(struct mt76x2_dev *dev, struct mt76x2_tx_power_info *t, · line 530
Quoted 8 lines
drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c +1
-1@@ -524,7 +524,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 ;any possibility of adding:
Quoted 1 line
Reported-by Colin Ian King <[email protected]>
Sure, I'll add that during commit.
Signature · 1 line
Kalle Valo
Quoted 7 lines · Kalle Valo
Quoted 5 lines · Colin Ian King
Quoted 4 lines · Lorenzo Bianconi
Fix typo in 5GHz power vs channel eeprom parsing
Fixes 7bc04215a66b ("mt76: add driver code for MT76x2e")Signed-off-by Lorenzo Bianconi <[email protected]>
[...]
Quoted 5 lines
Quoted 3 lines
any possibility of adding:
Reported-by Colin Ian King <[email protected]>Sure, I'll add that during commit.
Actually patchwork added that automatically based on your email, just as it does with Acked-by. Very nice!
Signature · 1 line
Kalle Valo
Quoted 6 lines · Lorenzo Bianconi
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]>
Patch applied to wireless-drivers-next.git, thanks.
c3929a980b16 mt76x2: eeprom: fix typo in mt76x2_get_power_info_5g()
Signature · 3 lines
https://patchwork.kernel.org/patch/10111813/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches