Commit 70493b86 authored by Shayne Chen's avatar Shayne Chen Committed by Felix Fietkau
Browse files

mt76: mt7915: set band1 TGID field in tx descriptor



Set proper group index of tx descriptor for band1.

Signed-off-by: default avatarShayne Chen <shayne.chen@mediatek.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 6450b133
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1218,8 +1218,7 @@ void mt7915_mac_write_txwi(struct mt7915_dev *dev, __le32 *txwi,
	      FIELD_PREP(MT_TXD1_WLAN_IDX, wcid->idx) |
	      FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx);

	if ((ext_phy || band_idx) &&
	    q_idx >= MT_LMAC_ALTX0 && q_idx <= MT_LMAC_BCN0)
	if (ext_phy || band_idx)
		val |= MT_TXD1_TGID;

	txwi[1] = cpu_to_le32(val);