Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b808ab16a9c99c00e3d8c3b351977fce62781dd0
Commit:     b808ab16a9c99c00e3d8c3b351977fce62781dd0
Parent:     2ef19e63e698d740661e04bd6d62ac3305435c61
Author:     Cyrill Gorcunov <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 13 15:52:11 2007 -0800
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Mon Dec 17 17:01:39 2007 -0500

    ieee80211_rate: missed unlock
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 net/mac80211/ieee80211_rate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/mac80211/ieee80211_rate.c b/net/mac80211/ieee80211_rate.c
index 7254bd6..3260a4a 100644
--- a/net/mac80211/ieee80211_rate.c
+++ b/net/mac80211/ieee80211_rate.c
@@ -33,6 +33,7 @@ int ieee80211_rate_control_register(struct rate_control_ops 
*ops)
                if (!strcmp(alg->ops->name, ops->name)) {
                        /* don't register an algorithm twice */
                        WARN_ON(1);
+                       mutex_unlock(&rate_ctrl_mutex);
                        return -EALREADY;
                }
        }
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to