Browse Source

Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem

John W. Linville 11 years ago
parent
commit
33457ff7cd
1 changed files with 4 additions and 0 deletions
  1. 4 0
      drivers/net/wireless/ath/ath9k/xmit.c

+ 4 - 0
drivers/net/wireless/ath/ath9k/xmit.c

@@ -1276,6 +1276,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);
 		}