phy: fix tx power delta parsing for 2.4 GHz as well

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2015-07-29 17:57:30 +02:00
parent 35d21b3912
commit b0c1bbb8bc
+1 -1
View File
@@ -358,7 +358,7 @@ mt76_get_power_info_2g(struct mt76_dev *dev, struct mt76_tx_power_info *t,
t->chain[chain].tssi_slope = data[0];
t->chain[chain].tssi_offset = data[1];
t->chain[chain].target_power = data[2];
t->chain[chain].delta = data[delta_idx];
t->chain[chain].delta = mt76_sign_extend_optional(data[delta_idx], 7);
val = mt76_eeprom_get(dev, MT_EE_RF_2G_TSSI_OFF_TXPOWER);
t->target_power = val >> 8;