Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218431
b: refs/heads/master
c: 5f4e6b2
h: refs/heads/master
i:
  218429: 14bb892
  218427: d4d2973
  218423: 152cbba
  218415: 5baaf70
  218399: f41d4b6
  218367: 31b7343
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Oct 25, 2010
1 parent 5fa14d2 commit 652f701
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cae7f953e8afa9b1ce234fd0907183b643cc5ab8
refs/heads/master: 5f4e6b2d3c74c1adda1cbfd9d9d30da22c7484fc
3 changes: 3 additions & 0 deletions trunk/net/mac80211/rate.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ void rate_control_get_rate(struct ieee80211_sub_if_data *sdata,
* if needed.
*/
for (i = 0; i < IEEE80211_TX_MAX_RATES; i++) {
/* Skip invalid rates */
if (info->control.rates[i].idx < 0)
break;
/* Rate masking supports only legacy rates for now */
if (info->control.rates[i].flags & IEEE80211_TX_RC_MCS)
continue;
Expand Down

0 comments on commit 652f701

Please sign in to comment.