diff --git a/mt7996/mac.c b/mt7996/mac.c index 9acff25e..8d857fe5 100644 --- a/mt7996/mac.c +++ b/mt7996/mac.c @@ -1095,7 +1095,7 @@ void mt7996_mac_write_txwi(struct mt7996_dev *dev, __le32 *txwi, idx = mvif->basic_rates_idx; } - txwi[6] |= FIELD_PREP(MT_TXD6_TX_RATE, idx); + txwi[6] |= cpu_to_le32(FIELD_PREP(MT_TXD6_TX_RATE, idx)); txwi[3] |= cpu_to_le32(MT_TXD3_BA_DISABLE); } }