diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-03 21:07:52 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-10-05 16:26:17 -0400 |
commit | 249ee72249140fe5b9adc988f97298f0aa5db2fc (patch) | |
tree | 1a41de8e6a279ee930511874b4ed6ed06271043b /drivers/net/wireless/ath/ath9k/beacon.c | |
parent | ceb26a6013b962b82f644189ea29d802490fc8fc (diff) |
ath9k: use ieee80211_free_txskb
Using ieee80211_free_txskb for tx frames is required, since mac80211 clones
skbs for which socket tx status is requested.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/beacon.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/beacon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c index 76f07d8c272..1b48414dca9 100644 --- a/drivers/net/wireless/ath/ath9k/beacon.c +++ b/drivers/net/wireless/ath/ath9k/beacon.c @@ -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); } } |