From b973bef0f87fd0d026745b798f95069db81edada Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 4 Jul 2019 20:07:14 +0200 Subject: [PATCH] mt7603: do not use tssi-off power value for mt7628 This value does not exist in the MT7628 EEPROM guidelines, so it is empty Signed-off-by: Felix Fietkau --- mt7603/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7603/init.c b/mt7603/init.c index 105068bd..568e57e1 100644 --- a/mt7603/init.c +++ b/mt7603/init.c @@ -476,7 +476,7 @@ mt7603_init_txpower(struct mt7603_dev *dev, int max_offset, cur_offset; int i; - if (ext_pa) + if (ext_pa && is_mt7603(dev)) target_power = eeprom[MT_EE_TX_POWER_TSSI_OFF] & ~BIT(7); if (target_power & BIT(6))