diff --git a/mt76x02_mac.c b/mt76x02_mac.c index b9871c33..166f20bd 100644 --- a/mt76x02_mac.c +++ b/mt76x02_mac.c @@ -307,7 +307,7 @@ void mt76x02_mac_write_txwi(struct mt76x02_dev *dev, struct mt76x02_txwi *txwi, ccmp_pn[6] = pn >> 32; ccmp_pn[7] = pn >> 40; txwi->iv = *((__le32 *)&ccmp_pn[0]); - txwi->eiv = *((__le32 *)&ccmp_pn[1]); + txwi->eiv = *((__le32 *)&ccmp_pn[4]); } spin_lock_bh(&dev->mt76.lock);