From 3b09a50723ef412811e037d23253550aa4c99786 Mon Sep 17 00:00:00 2001 From: damien Date: Sat, 17 Jul 2010 16:30:01 +0000 Subject: [PATCH] use the correct block ack structure when building an ADDBA response. --- sys/net80211/ieee80211_output.c | 4 ++-- 1 file 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; -- 2.20.1