|
@@ -2342,7 +2342,12 @@ static int wmi_process_mgmt_tx_comp(struct ath10k *ar, u32 desc_id,
|
|
|
dma_unmap_single(ar->dev, pkt_addr->paddr,
|
|
|
msdu->len, DMA_FROM_DEVICE);
|
|
|
info = IEEE80211_SKB_CB(msdu);
|
|
|
- info->flags |= status;
|
|
|
+
|
|
|
+ if (status)
|
|
|
+ info->flags &= ~IEEE80211_TX_STAT_ACK;
|
|
|
+ else
|
|
|
+ info->flags |= IEEE80211_TX_STAT_ACK;
|
|
|
+
|
|
|
ieee80211_tx_status_irqsafe(ar->hw, msdu);
|
|
|
|
|
|
ret = 0;
|