aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath/if_ath_tx_ht.c
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2013-02-28 23:39:22 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2013-02-28 23:39:22 +0000
commit7a27f0a338aa8695ab9538ae6be139c98b9a51db (patch)
treeaee5a0e5d3814caf83bffcfe09c3b13c70765ba8 /sys/dev/ath/if_ath_tx_ht.c
parent56129906234d9d511c778a8fbd4161a2c02b4658 (diff)
Notes
Diffstat (limited to 'sys/dev/ath/if_ath_tx_ht.c')
-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 dbd4a8473610..9921ffaf3050 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;
/*