aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/xmit.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2008-12-07 11:13:36 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-12-12 13:48:25 -0500
commit8ee5afbc9d2162f0919dd089023fb690f7cf8134 (patch)
tree3a1dc4a38dd16ec0f9bd4375f1662d848427d525 /drivers/net/wireless/ath9k/xmit.c
parentf6688cd8af6260ad4717ce45d2a614633fcf5540 (diff)
ath9k: Merge structures ath_atx, ath_node_aggr with ath_node
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
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 353b7ed1c8a4..ec359c624831 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);