aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/status.c')
-rw-r--r--net/mac80211/status.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c
index 21fa5c72ea14..248247877eb6 100644
--- a/net/mac80211/status.c
+++ b/net/mac80211/status.c
@@ -669,3 +669,12 @@ void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb)
669 dev_kfree_skb_any(skb); 669 dev_kfree_skb_any(skb);
670} 670}
671EXPORT_SYMBOL(ieee80211_free_txskb); 671EXPORT_SYMBOL(ieee80211_free_txskb);
672
673void ieee80211_purge_tx_queue(struct ieee80211_hw *hw,
674 struct sk_buff_head *skbs)
675{
676 struct sk_buff *skb;
677
678 while ((skb = __skb_dequeue(skbs)))
679 ieee80211_free_txskb(hw, skb);
680}