]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ath9k_hw: fix TX descriptor setup for AR9271
authorSujith <Sujith.Manoharan@atheros.com>
Wed, 17 Mar 2010 08:55:17 +0000 (14:25 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 23 Mar 2010 20:50:13 +0000 (16:50 -0400)
The TX descriptors setup for AR971 requires the same
setup as AR9285, so use that.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/mac.c

index 589490b69ddc19552e76fd6d1514ef441974cfef..7af823a1527deffa8cfd3274a1c851c8fb7f251d 100644 (file)
@@ -351,7 +351,7 @@ void ath9k_hw_set11n_txdesc(struct ath_hw *ah, struct ath_desc *ds,
 
        ads->ds_ctl6 = SM(keyType, AR_EncrType);
 
-       if (AR_SREV_9285(ah)) {
+       if (AR_SREV_9285(ah) || AR_SREV_9271(ah)) {
                ads->ds_ctl8 = 0;
                ads->ds_ctl9 = 0;
                ads->ds_ctl10 = 0;