aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/xmit.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/xmit.c')
-rw-r--r--drivers/net/wireless/ath9k/xmit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath9k/xmit.c b/drivers/net/wireless/ath9k/xmit.c
index 353b7ed1c8a..ec359c62483 100644
--- a/drivers/net/wireless/ath9k/xmit.c
+++ b/drivers/net/wireless/ath9k/xmit.c
@@ -2405,7 +2405,7 @@ void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an)
2405 /* 2405 /*
2406 * Init per tid tx state 2406 * Init per tid tx state
2407 */ 2407 */
2408 for (tidno = 0, tid = &an->an_aggr.tx.tid[tidno]; 2408 for (tidno = 0, tid = &an->tid[tidno];
2409 tidno < WME_NUM_TID; 2409 tidno < WME_NUM_TID;
2410 tidno++, tid++) { 2410 tidno++, tid++) {
2411 tid->an = an; 2411 tid->an = an;
@@ -2419,7 +2419,7 @@ void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an)
2419 INIT_LIST_HEAD(&tid->buf_q); 2419 INIT_LIST_HEAD(&tid->buf_q);
2420 2420
2421 acno = TID_TO_WME_AC(tidno); 2421 acno = TID_TO_WME_AC(tidno);
2422 tid->ac = &an->an_aggr.tx.ac[acno]; 2422 tid->ac = &an->ac[acno];
2423 2423
2424 /* ADDBA state */ 2424 /* ADDBA state */
2425 tid->state &= ~AGGR_ADDBA_COMPLETE; 2425 tid->state &= ~AGGR_ADDBA_COMPLETE;
@@ -2430,7 +2430,7 @@ void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an)
2430 /* 2430 /*
2431 * Init per ac tx state 2431 * Init per ac tx state
2432 */ 2432 */
2433 for (acno = 0, ac = &an->an_aggr.tx.ac[acno]; 2433 for (acno = 0, ac = &an->ac[acno];
2434 acno < WME_NUM_AC; acno++, ac++) { 2434 acno < WME_NUM_AC; acno++, ac++) {
2435 ac->sched = false; 2435 ac->sched = false;
2436 INIT_LIST_HEAD(&ac->tid_q); 2436 INIT_LIST_HEAD(&ac->tid_q);