]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath9k: Use abstraction to get link pointer
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Thu, 15 Apr 2010 21:38:44 +0000 (17:38 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Apr 2010 19:43:26 +0000 (15:43 -0400)
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c

index 4f12de99492db8a9361354cdab06a3f697fd401e..16f7a3d2d5eac4c04423e6cec8c15ea0c62fdd3d 100644 (file)
@@ -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);
 }