aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/carl9170
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/carl9170')
-rw-r--r--drivers/net/wireless/ath/carl9170/tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/carl9170/tx.c b/drivers/net/wireless/ath/carl9170/tx.c
index 59472e1605c..d19a9ee9d05 100644
--- a/drivers/net/wireless/ath/carl9170/tx.c
+++ b/drivers/net/wireless/ath/carl9170/tx.c
@@ -314,7 +314,7 @@ static void carl9170_tx_release(struct kref *ref)
314 * feedback either [CTL_REQ_TX_STATUS not set] 314 * feedback either [CTL_REQ_TX_STATUS not set]
315 */ 315 */
316 316
317 dev_kfree_skb_any(skb); 317 ieee80211_free_txskb(ar->hw, skb);
318 return; 318 return;
319 } else { 319 } else {
320 /* 320 /*
@@ -1432,7 +1432,7 @@ void carl9170_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
1432 1432
1433err_free: 1433err_free:
1434 ar->tx_dropped++; 1434 ar->tx_dropped++;
1435 dev_kfree_skb_any(skb); 1435 ieee80211_free_txskb(ar->hw, skb);
1436} 1436}
1437 1437
1438void carl9170_tx_scheduler(struct ar9170 *ar) 1438void carl9170_tx_scheduler(struct ar9170 *ar)