diff --git a/mt7615/mac.c b/mt7615/mac.c index f98ae0be..b0d41ec6 100644 --- a/mt7615/mac.c +++ b/mt7615/mac.c @@ -1079,7 +1079,7 @@ mt7615_write_hw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info, tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); tx_info->nbuf = 1; - txp->msdu_id[0] = id | MT_MSDU_ID_VALID; + txp->msdu_id[0] = cpu_to_le16(id | MT_MSDU_ID_VALID); for (i = 0; i < nbuf; i++) { u32 addr = tx_info->buf[i + 1].addr;