Fix a bug where bf->bf_skb needs to be set to NULL because the skbuff have already...
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sat, 19 Jan 2008 01:02:26 +0000 (01:02 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sat, 19 Jan 2008 01:02:26 +0000 (01:02 +0000)
commit70339802ca6cf73e88f48049d1826a1d25f15520
tree2e0e3ea39c24fc82e0d964e7de5ecb8bf2cac198
parent583f54226e4d6e6471663fd80bff935e99a035b8
Fix a bug where bf->bf_skb needs to be set to NULL because the skbuff have already been freed by
ath_tx_capture, for each frame in the list we have already freed the skb but the original pointer to
the list of skbs is still in bf->bf_skb.  So when bf is returned with ath_return_txbuf it tries to
double-free, resuilting a spew of backtraces/warnings when reference debugging is enabled.

Not to mention the fact that the skb is double-freed.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3220 0192ed92-7a03-0410-a25b-9323aeb14dbd
ath/if_ath.c