Commit:     13e05aa631b195ce30737b320da17e7542c82ead
Parent:     fa44327c06492c9bd625dbc8dbe35e5d5965fec6
Author:     Stefano Brivio <[EMAIL PROTECTED]>
AuthorDate: Sun Dec 23 04:43:57 2007 +0100
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:00:53 2008 -0800

    rc80211-pid: fix sta_info refcounting
    Fix a bug which caused uncorrect refcounting of PHYs in mac80211. Thanks to
    Johannes Berg for spotting this out.
    Cc: Johannes Berg <[EMAIL PROTECTED]>
    Signed-off-by: Stefano Brivio <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/mac80211/rc80211_pid_algo.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/net/mac80211/rc80211_pid_algo.c b/net/mac80211/rc80211_pid_algo.c
index 3e26280..da35290 100644
--- a/net/mac80211/rc80211_pid_algo.c
+++ b/net/mac80211/rc80211_pid_algo.c
@@ -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;
@@ -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);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to