aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/xmit.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2010-04-15 17:38:44 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:26 -0400
commit5c3a338fcfd25de1f8434f9e504aa7e2a425d3ce (patch)
tree8212adaf95a5f79518f744969d5665c3fdaf3917 /drivers/net/wireless/ath/ath9k/xmit.c
parentath9k_hw: Add abstraction to set/get link pointer (diff)
downloadlinux-dev-5c3a338fcfd25de1f8434f9e504aa7e2a425d3ce.tar.xz
linux-dev-5c3a338fcfd25de1f8434f9e504aa7e2a425d3ce.zip
ath9k: Use abstraction to get link pointer
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/xmit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
index 4f12de99492d..16f7a3d2d5ea 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -1242,7 +1242,7 @@ static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq,
txq->axq_qnum, txq->axq_link,
ito64(bf->bf_daddr), bf->bf_desc);
}
- txq->axq_link = &(bf->bf_lastbf->bf_desc->ds_link);
+ ath9k_hw_get_desc_link(ah, bf->bf_lastbf->bf_desc, &txq->axq_link);
ath9k_hw_txstart(ah, txq->axq_qnum);
}