svn commit: r225059 - user/adrian/if_ath_tx/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Sun Aug 21 14:44:45 UTC 2011


Author: adrian
Date: Sun Aug 21 14:44:44 2011
New Revision: 225059
URL: http://svn.freebsd.org/changeset/base/225059

Log:
  Clear bf_comp, not all frame setups currently set this to something,
  so packets were getting the -previous- completion handler. tsk.

Modified:
  user/adrian/if_ath_tx/sys/dev/ath/if_ath.c

Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath.c	Sun Aug 21 14:43:19 2011	(r225058)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath.c	Sun Aug 21 14:44:44 2011	(r225059)
@@ -1878,6 +1878,7 @@ _ath_getbuf_locked(struct ath_softc *sc)
 			"out of xmit buffers" : "xmit buffer busy");
 	}
 	bf->bf_next = NULL;	/* XXX just to be sure */
+	bf->bf_comp = NULL;	/* XXX again, just to be sure */
 	return bf;
 }
 


More information about the svn-src-user mailing list