mac80211: use ieee80211_free_txskb in a few more places
authorFelix Fietkau <nbd@openwrt.org>
Wed, 10 Oct 2012 20:40:23 +0000 (22:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Oct 2012 18:45:50 +0000 (14:45 -0400)
commitd4fa14cd62bd078c8e3ef39283b9f237e5b2ff0f
tree420a4835d573d45f98ce488dadd899f58599b2e9
parent3e4f319dacc60c1b4537b85329d393ad18bf7501
mac80211: use ieee80211_free_txskb in a few more places

Free tx status skbs when draining power save buffers, pending frames, or
when tearing down a vif.
Fixes remaining conditions that can lead to hostapd/wpa_supplicant hangs when
running out of socket write memory.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c
net/mac80211/sta_info.c
net/mac80211/util.c