carl9170: use ieee80211_free_txskb
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 19 Nov 2011 18:30:20 +0000 (19:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Nov 2011 21:22:10 +0000 (16:22 -0500)
commitfd67a728a97c171e54319833adaf8d2641954781
tree74206536140d58df6e037c3236a5164384938336
parentc3745b40601513a6a6e901c3ec44ddefd0c428d8
carl9170: use ieee80211_free_txskb

In the past, it was fine to simply call
dev_kfree_skb when it was impossible to
transmit a skb. However, with the new
tx status API:
"mac80211: implement wifi TX status"
Every loose skb needs to be handed back
to mac80211.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/tx.c