diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-03 19:07:52 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-10-05 20:26:17 (GMT) |
commit | 249ee72249140fe5b9adc988f97298f0aa5db2fc (patch) | |
tree | 1a41de8e6a279ee930511874b4ed6ed06271043b /drivers/net/wireless/ath/ath9k/beacon.c | |
parent | ceb26a6013b962b82f644189ea29d802490fc8fc (diff) | |
download | linux-249ee72249140fe5b9adc988f97298f0aa5db2fc.tar.xz |
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 76f07d8..1b48414 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); } } |