diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index a1fed6c8ff95..9283440a0210 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c | |||
@@ -661,7 +661,8 @@ static int ath_compute_num_delims(struct ath_softc *sc, struct ath_atx_tid *tid, | |||
661 | * TODO - this could be improved to be dependent on the rate. | 661 | * TODO - this could be improved to be dependent on the rate. |
662 | * The hardware can keep up at lower rates, but not higher rates | 662 | * The hardware can keep up at lower rates, but not higher rates |
663 | */ | 663 | */ |
664 | if (fi->keyix != ATH9K_TXKEYIX_INVALID) | 664 | if ((fi->keyix != ATH9K_TXKEYIX_INVALID) && |
665 | !(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)) | ||
665 | ndelim += ATH_AGGR_ENCRYPTDELIM; | 666 | ndelim += ATH_AGGR_ENCRYPTDELIM; |
666 | 667 | ||
667 | /* | 668 | /* |