svn commit: r247507 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Thu Feb 28 23:39:23 UTC 2013


Author: adrian
Date: Thu Feb 28 23:39:22 2013
New Revision: 247507
URL: http://svnweb.freebsd.org/changeset/base/247507

Log:
  Oops - fix an incorrect test.

Modified:
  head/sys/dev/ath/if_ath_tx_ht.c

Modified: head/sys/dev/ath/if_ath_tx_ht.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx_ht.c	Thu Feb 28 23:31:23 2013	(r247506)
+++ head/sys/dev/ath/if_ath_tx_ht.c	Thu Feb 28 23:39:22 2013	(r247507)
@@ -238,7 +238,7 @@ ath_tx_rate_fill_rcflags(struct ath_soft
 		/*
 		 * Only enable short preamble for legacy rates
 		 */
-		if (IS_HT_RATE(rate) && bf->bf_state.bfs_shpream)
+		if ((! IS_HT_RATE(rate)) && bf->bf_state.bfs_shpream)
 			rate |= rt->info[rc[i].rix].shortPreamble;
 
 		/*


More information about the svn-src-all mailing list