|
@@ -2771,6 +2771,9 @@ static void ath10k_remove_interface(struct ieee80211_hw *hw,
|
|
|
|
|
|
spin_lock_bh(&ar->data_lock);
|
|
spin_lock_bh(&ar->data_lock);
|
|
if (arvif->beacon) {
|
|
if (arvif->beacon) {
|
|
|
|
+ dma_unmap_single(arvif->ar->dev,
|
|
|
|
+ ATH10K_SKB_CB(arvif->beacon)->paddr,
|
|
|
|
+ arvif->beacon->len, DMA_TO_DEVICE);
|
|
dev_kfree_skb_any(arvif->beacon);
|
|
dev_kfree_skb_any(arvif->beacon);
|
|
arvif->beacon = NULL;
|
|
arvif->beacon = NULL;
|
|
}
|
|
}
|