Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265897
b: refs/heads/master
c: 059ee09
h: refs/heads/master
i:
  265895: cf446f5
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Aug 29, 2011
1 parent 857c518 commit f72933b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7be039d347743c289b7280d5de82abf7bbdf1d8
refs/heads/master: 059ee09b99942bf64f4075196a7a2a992e64193d
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/ath/ath9k/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,10 @@ static bool ath_lookup_legacy(struct ath_buf *bf)
tx_info = IEEE80211_SKB_CB(skb);
rates = tx_info->control.rates;

for (i = 3; i >= 0; i--) {
for (i = 0; i < 4; i++) {
if (!rates[i].count || rates[i].idx < 0)
break;

if (!(rates[i].flags & IEEE80211_TX_RC_MCS))
return true;
}
Expand Down

0 comments on commit f72933b

Please sign in to comment.