rt2x00: Make use of ieee80211_free_txskb in tx path

ieee80211_free_txskb should be used when dropping a frame in the device
rx path such that mac80211 knows about this frame being dropped.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Helmut Schaa 2011-12-14 16:28:41 +01:00 committed by John W. Linville
parent cb71b8d803
commit e4522ab1c4
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ void rt2x00mac_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
exit_fail: exit_fail:
rt2x00queue_pause_queue(queue); rt2x00queue_pause_queue(queue);
exit_free_skb: exit_free_skb:
dev_kfree_skb_any(skb); ieee80211_free_txskb(hw, skb);
} }
EXPORT_SYMBOL_GPL(rt2x00mac_tx); EXPORT_SYMBOL_GPL(rt2x00mac_tx);