summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/xmit.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2014-01-06 14:08:41 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-01-06 14:08:41 -0500
commit9d1cd503c7618d2eb00746fa1ebb06a723e108b4 (patch)
tree53a1e729bf936ff861a55f6751d61733fff1434b /drivers/net/wireless/ath/ath9k/xmit.c
parentc8bf40ad4f8f5d26f6744020ad51be420a707385 (diff)
parentb7e047358449f8eb5cba8197b42280b676b82e54 (diff)
downloadblackbird-op-linux-9d1cd503c7618d2eb00746fa1ebb06a723e108b4.tar.gz
blackbird-op-linux-9d1cd503c7618d2eb00746fa1ebb06a723e108b4.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/xmit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
index d3b641512482..e8d0e7fc77da 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -1264,6 +1264,10 @@ static void ath_tx_fill_desc(struct ath_softc *sc, struct ath_buf *bf,
if (!rts_thresh || (len > rts_thresh))
rts = true;
}
+
+ if (!aggr)
+ len = fi->framelen;
+
ath_buf_set_rate(sc, bf, &info, len, rts);
}
OpenPOWER on IntegriCloud