Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78694
b: refs/heads/master
c: 13e05aa
h: refs/heads/master
v: v3
  • Loading branch information
Stefano Brivio authored and David S. Miller committed Jan 28, 2008
1 parent b6ff7ba commit 3f7518a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: fa44327c06492c9bd625dbc8dbe35e5d5965fec6
refs/heads/master: 13e05aa631b195ce30737b320da17e7542c82ead
3 changes: 2 additions & 1 deletion trunk/net/mac80211/rc80211_pid_algo.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ static void rate_control_pid_tx_status(void *priv, struct net_device *dev,
/* Ignore all frames that were sent with a different rate than the rate
* we currently advise mac80211 to use. */
if (status->control.rate != &local->oper_hw_mode->rates[sta->txrate])
return;
goto ignore;

spinfo = sta->rate_ctrl_priv;
spinfo->tx_num_xmit++;
Expand Down Expand Up @@ -295,6 +295,7 @@ static void rate_control_pid_tx_status(void *priv, struct net_device *dev,
if (time_after(jiffies, spinfo->last_sample + period))
rate_control_pid_sample(pinfo, local, sta);

ignore:
sta_info_put(sta);
}

Expand Down

0 comments on commit 3f7518a

Please sign in to comment.