Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203498
b: refs/heads/master
c: 009271f
h: refs/heads/master
v: v3
  • Loading branch information
Ming Lei authored and John W. Linville committed Jul 2, 2010
1 parent cc56d88 commit a9bc24d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 8e67ca7c9266a4f920d70d3a2cbf03a597d28ea7
refs/heads/master: 009271f9187d61c638bb4f3db9ab172c5065e542
2 changes: 2 additions & 0 deletions trunk/net/mac80211/rc80211_minstrel_ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ minstrel_ht_update_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi)
MINSTREL_FRAC(3, 4)) || mr->probability > cur_prob) {
mg->max_prob_rate = index;
cur_prob = mr->probability;
cur_prob_tp = mr->cur_tp;
}

if (mr->cur_tp > cur_tp) {
Expand Down Expand Up @@ -275,6 +276,7 @@ minstrel_ht_update_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi)
minstrel_mcs_groups[group].streams == 1) {
mi->max_prob_rate = mg->max_prob_rate;
cur_prob = mr->cur_prob;
cur_prob_tp = mr->cur_tp;
}

mr = minstrel_get_ratestats(mi, mg->max_tp_rate);
Expand Down

0 comments on commit a9bc24d

Please sign in to comment.