summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_output.c
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-01-06 19:56:51 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-01-06 19:56:51 +0000
commitd575727a699b5ec3165be3e08326b53b4e0cb80c (patch)
tree54f4a9517c3f5ead6fddf9299540da741c45543d /sys/net80211/ieee80211_output.c
parent52b6752f60789fae7f60401ddd3c639f23a989a6 (diff)
Initialize the A-MPDU parameters field in HT capability elements.
ok kettenis@
Diffstat (limited to 'sys/net80211/ieee80211_output.c')
-rw-r--r--sys/net80211/ieee80211_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index a58391ffbe1..e823452395a 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_output.c,v 1.105 2016/01/05 18:41:16 stsp Exp $ */
+/* $OpenBSD: ieee80211_output.c,v 1.106 2016/01/06 19:56:50 stsp Exp $ */
/* $NetBSD: ieee80211_output.c,v 1.13 2004/05/31 11:02:55 dyoung Exp $ */
/*-
@@ -1021,7 +1021,7 @@ ieee80211_add_htcaps(u_int8_t *frm, struct ieee80211com *ic)
*frm++ = IEEE80211_ELEMID_HTCAPS;
*frm++ = 26;
LE_WRITE_2(frm, ic->ic_htcaps); frm += 2;
- *frm++ = 0; /* XXX A-MPDU params */
+ *frm++ = ic->ic_ampdu_params;
memcpy(frm, ic->ic_sup_mcs, 10); frm += 10;
LE_WRITE_2(frm, (ic->ic_max_rxrate & IEEE80211_MCS_RX_RATE_HIGH));
frm += 2;