ath5k: fix tx path skb leaks
authorFelix Fietkau <nbd@openwrt.org>
Mon, 10 Dec 2012 15:40:41 +0000 (16:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Dec 2012 20:49:58 +0000 (15:49 -0500)
commit596ab5ec3bf10a22be30d7cb1d903a4b83fd607c
tree3a61d1a4bc119cb5498351339b35d2cc31684ce9
parentab5c4f71d8c7add173a2d32e5beefdaaf1b7cbbc
ath5k: fix tx path skb leaks

ieee80211_free_txskb() needs to be used instead of dev_kfree_skb_any for
tx packets passed to the driver from mac80211

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/mac80211-ops.c