diff options
author | John W. Linville <linville@tuxdriver.com> | 2014-01-06 14:08:41 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-01-06 14:08:41 -0500 |
commit | 9d1cd503c7618d2eb00746fa1ebb06a723e108b4 (patch) | |
tree | 53a1e729bf936ff861a55f6751d61733fff1434b /drivers/net/wireless/ath/ath9k/xmit.c | |
parent | c8bf40ad4f8f5d26f6744020ad51be420a707385 (diff) | |
parent | b7e047358449f8eb5cba8197b42280b676b82e54 (diff) | |
download | blackbird-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.c | 4 |
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); } |