summaryrefslogtreecommitdiff
path: root/sys/net80211
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2010-07-17 16:30:02 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2010-07-17 16:30:02 +0000
commit18a3925efbd0d2e8e266a5dcfd2f65c365265970 (patch)
tree2b92ed407acf5f195c9a892588b8520a518874cb /sys/net80211
parentc5a07e944beff52f27aa22dc17f68a05592162a8 (diff)
use the correct block ack structure when building an ADDBA response.
Diffstat (limited to 'sys/net80211')
-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 55472f8fcb0..e72db11dcd0 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_output.c,v 1.87 2009/05/24 07:46:04 damien Exp $ */
+/* $OpenBSD: ieee80211_output.c,v 1.88 2010/07/17 16:30:01 damien Exp $ */
/* $NetBSD: ieee80211_output.c,v 1.13 2004/05/31 11:02:55 dyoung Exp $ */
/*-
@@ -1482,7 +1482,7 @@ struct mbuf *
ieee80211_get_addba_resp(struct ieee80211com *ic, struct ieee80211_node *ni,
u_int8_t tid, u_int8_t token, u_int16_t status)
{
- struct ieee80211_tx_ba *ba = &ni->ni_tx_ba[tid];
+ struct ieee80211_rx_ba *ba = &ni->ni_rx_ba[tid];
struct mbuf *m;
u_int8_t *frm;
u_int16_t params;