Revert r3220
authormentor <mentor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sat, 19 Jan 2008 15:45:28 +0000 (15:45 +0000)
committermentor <mentor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sat, 19 Jan 2008 15:45:28 +0000 (15:45 +0000)
Since r3076 ath_tx_capture no longer exists, and ath_capture no longer frees the SKB because it was a confusing place to do that. The reverted changeset has been tested to cause leaks, and once reverted the code operates correctly.i

*fwap*

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

ath/if_ath.c

index 31a7df301967f257de3130325c8e7aee0d99ab00..f00dbaa8d862d63cd459e976d289e8d91e0d636d 100644 (file)
@@ -8071,7 +8071,6 @@ ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)
 #endif
                }
 
-               bf->bf_skb = NULL;
                ni = NULL;
                ath_return_txbuf(sc, &bf);
        }