aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2016-04-29 18:53:16 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2016-04-29 18:53:16 +0000
commita03911879222c28f8ab3fb5fd72698e17209b266 (patch)
tree1a76ea53ed898fd48ad2b5ef5a0ea56c5cd09a1d /sys/dev
parent039b7329c1be18615444bbac1747e5a6f1dfc560 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_ath_tx_ht.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_tx_ht.c b/sys/dev/ath/if_ath_tx_ht.c
index 4106c92a1510..75e949afddb5 100644
--- a/sys/dev/ath/if_ath_tx_ht.c
+++ b/sys/dev/ath/if_ath_tx_ht.c
@@ -237,6 +237,7 @@ ath_tx_rate_fill_rcflags(struct ath_softc *sc, struct ath_buf *bf)
* It's a global flag, not a per-try flag, so we clear
* it if any of the rate entries aren't 11n.
*/
+ do_ldpc = 0;
if ((ni->ni_vap->iv_htcaps & IEEE80211_HTCAP_LDPC) &&
(ni->ni_htcap & IEEE80211_HTCAP_LDPC))
do_ldpc = 1;