Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180602
b: refs/heads/master
c: 5affcd6
h: refs/heads/master
v: v3
  • Loading branch information
Juuso Oikarinen authored and John W. Linville committed Feb 12, 2010
1 parent 30265c2 commit 56d82e0
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: fafaf31bf9f965d91462ee115e27ef6c262b74ea
refs/heads/master: 5affcd6ba2036b59a4dee3f0576ae3584e92e4f1
3 changes: 3 additions & 0 deletions trunk/net/mac80211/rate.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ void rate_control_get_rate(struct ieee80211_sub_if_data *sdata,
info->control.rates[i].count = 1;
}

if (sdata->local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL)
return;

if (sta && sdata->force_unicast_rateidx > -1) {
info->control.rates[0].idx = sdata->force_unicast_rateidx;
} else {
Expand Down

0 comments on commit 56d82e0

Please sign in to comment.