Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315545
b: refs/heads/master
c: 2a9e6c5
h: refs/heads/master
i:
  315543: 7ee5085
v: v3
  • Loading branch information
Sylvain Roger Rieunier authored and Johannes Berg committed Jul 12, 2012
1 parent 0afb0d5 commit 46f2ff0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 4922f71f2506e36d81a03f8fec4559bb7d175bf7
refs/heads/master: 2a9e6c58871df77b69afffad250062853570ee23
8 changes: 6 additions & 2 deletions trunk/net/mac80211/rc80211_minstrel_ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,12 @@ minstrel_ht_get_rate(void *priv, struct ieee80211_sta *sta, void *priv_sta,

#ifdef CONFIG_MAC80211_DEBUGFS
/* use fixed index if set */
if (mp->fixed_rate_idx != -1)
sample_idx = mp->fixed_rate_idx;
if (mp->fixed_rate_idx != -1) {
mi->max_tp_rate = mp->fixed_rate_idx;
mi->max_tp_rate2 = mp->fixed_rate_idx;
mi->max_prob_rate = mp->fixed_rate_idx;
sample_idx = -1;
}
#endif

if (sample_idx >= 0) {
Expand Down

0 comments on commit 46f2ff0

Please sign in to comment.