mac80211: properly free skb when r-o-c for TX fails
authorJohannes Berg <johannes.berg@intel.com>
Tue, 24 Nov 2015 14:38:43 +0000 (15:38 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Dec 2015 13:43:32 +0000 (14:43 +0100)
commit86c7ec9eb154020797c39e1cc7dafa92da02f603
tree59e4c7712814dd9271b441cc7ae83e144f018582
parent90f9ba9b89d88072324251da011b2a59992ad3e1
mac80211: properly free skb when r-o-c for TX fails

When freeing the TX skb for an off-channel TX, use the correct
API to also free the ACK skb that might have been allocated.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c