]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/ath/ath9k/beacon.c
ath9k: use ieee80211_free_txskb
[karo-tx-linux.git] / drivers / net / wireless / ath / ath9k / beacon.c
index 76f07d8c272d1dc951dfe23e4a4a8a3cc58aa14b..1b48414dca95d919a3c66dc6c760ce0b7338abdc 100644 (file)
@@ -120,7 +120,7 @@ static void ath9k_tx_cabq(struct ieee80211_hw *hw, struct sk_buff *skb)
 
        if (ath_tx_start(hw, skb, &txctl) != 0) {
                ath_dbg(common, XMIT, "CABQ TX failed\n");
-               dev_kfree_skb_any(skb);
+               ieee80211_free_txskb(hw, skb);
        }
 }