mt7603: add extra PSE hang check signature for MT7628

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2018-05-19 10:48:48 +02:00
parent 20c0766c8f
commit 664e32171c
+3
View File
@@ -1343,6 +1343,9 @@ static bool mt7603_rx_pse_busy(struct mt7603_dev *dev)
mt76_wr(dev, addr, 3);
val = mt76_rr(dev, addr) >> 16;
if (is_mt7628(dev) && (val & 0x4001) == 0x4001)
return true;
return (val & 0x8001) == 0x8001 || (val & 0xe001) == 0xe001;
}