summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-02-28 23:39:22 +0000
committeradrian <adrian@FreeBSD.org>2013-02-28 23:39:22 +0000
commit64b36f1a20744f0cf17f2e8c8b4df62c9bb278c4 (patch)
treeaee5a0e5d3814caf83bffcfe09c3b13c70765ba8 /sys/dev
parent1a834f6dbf24d717e51cb0a554c24d7833b2f6e4 (diff)
downloadFreeBSD-src-64b36f1a20744f0cf17f2e8c8b4df62c9bb278c4.zip
FreeBSD-src-64b36f1a20744f0cf17f2e8c8b4df62c9bb278c4.tar.gz
Oops - fix an incorrect test.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_ath_tx_ht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_tx_ht.c b/sys/dev/ath/if_ath_tx_ht.c
index dbd4a84..9921ffa 100644
--- a/sys/dev/ath/if_ath_tx_ht.c
+++ b/sys/dev/ath/if_ath_tx_ht.c
@@ -238,7 +238,7 @@ ath_tx_rate_fill_rcflags(struct ath_softc *sc, struct ath_buf *bf)
/*
* 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;
/*
OpenPOWER on IntegriCloud