mac80211: properly free TX skbs when monitor TX fails
authorJohannes Berg <johannes.berg@intel.com>
Tue, 24 Nov 2015 14:41:50 +0000 (15:41 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Dec 2015 13:43:32 +0000 (14:43 +0100)
commit63b4d8b3736b83126ea531c536eff9f76e4cd739
treee963cba0e5621207d144178822f42b77d5e1f08d
parent86c7ec9eb154020797c39e1cc7dafa92da02f603
mac80211: properly free TX skbs when monitor TX fails

We need to free all skbs here, not just the one we peeked
from the list.

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