From: Ryder Lee Date: Fri, 6 Jan 2023 21:40:42 +0000 (+0800) Subject: wifi: mt76: mt7915: fix WED TxS reporting X-Git-Tag: v6.1.21~1242 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8baf3e6c3890fe3875881ffcbf684c3d6109e61;p=platform%2Fkernel%2Flinux-starfive.git wifi: mt76: mt7915: fix WED TxS reporting [ Upstream commit 0d7084e209a9e2c924cb0d6e7f1f978db2a54127 ] The previous commit forgot to remove a leftover check. Fixes: 43eaa3689507 ("wifi: mt76: add PPDU based TxS support for WED device") Reported-By: Sujuan Chen Signed-off-by: Ryder Lee Signed-off-by: Felix Fietkau Signed-off-by: Sasha Levin --- diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c index e6bf6e0..1f3b7e7 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c @@ -997,9 +997,6 @@ static void mt7915_mac_add_txs(struct mt7915_dev *dev, void *data) u16 wcidx; u8 pid; - if (le32_get_bits(txs_data[0], MT_TXS0_TXS_FORMAT) > 1) - return; - wcidx = le32_get_bits(txs_data[2], MT_TXS2_WCID); pid = le32_get_bits(txs_data[3], MT_TXS3_PID);