aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath/if_ath_tx_ht.c
diff options
context:
space:
mode:
authorAndriy Voskoboinyk <avos@FreeBSD.org>2017-01-21 21:03:26 +0000
committerAndriy Voskoboinyk <avos@FreeBSD.org>2017-01-21 21:03:26 +0000
commit8f1e113906146e6ead88c73d0775428705908ba6 (patch)
treef07e7ea2428b2ef1c6252e96f830f5812d1817fb /sys/dev/ath/if_ath_tx_ht.c
parenteaf0969bdac44ac1e789ccea7bde7f1070fde3e8 (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 5226d4d52ad6..5a6e39ed085c 100644
--- a/sys/dev/ath/if_ath_tx_ht.c
+++ b/sys/dev/ath/if_ath_tx_ht.c
@@ -239,7 +239,7 @@ ath_tx_rate_fill_rcflags(struct ath_softc *sc, struct ath_buf *bf)
* it if any of the rate entries aren't 11n.
*/
do_ldpc = 0;
- if ((ni->ni_vap->iv_htcaps & IEEE80211_HTCAP_LDPC) &&
+ if ((ni->ni_vap->iv_flags_ht & IEEE80211_FHT_LDPC_TX) &&
(ni->ni_htcap & IEEE80211_HTCAP_LDPC))
do_ldpc = 1;