Commit:     0c234ae655a45ac3ee53a25b2e56e9bb6c27d71d
Parent:     6f07a8a3eb2adbfacd1322862368da4eb9dd3b45
Author:     Ulrich Kunitz <[EMAIL PROTECTED]>
AuthorDate: Sun Dec 10 18:27:01 2006 +0100
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Tue Dec 19 16:19:45 2006 -0500

    [PATCH] ieee80211softmac: Fix mutex_lock at exit of 
    ieee80211softmac_wx_get_genie locks the associnfo mutex at
    function exit. This patch fixes it. The patch is against Linus'
    tree (commit af1713e0).
    Signed-off-by: Ulrich Kunitz <[EMAIL PROTECTED]>
    Signed-off-by: Michael Buesch <[EMAIL PROTECTED]>
    Acked-by: Johannes Berg <[EMAIL PROTECTED]>
    Signed-off-by: Larry Finger <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
 net/ieee80211/softmac/ieee80211softmac_wx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ieee80211/softmac/ieee80211softmac_wx.c 
index 480d72c..fa2f7da 100644
--- a/net/ieee80211/softmac/ieee80211softmac_wx.c
+++ b/net/ieee80211/softmac/ieee80211softmac_wx.c
@@ -463,7 +463,7 @@ ieee80211softmac_wx_get_genie(struct net_device *dev,
                        err = -E2BIG;
        spin_unlock_irqrestore(&mac->lock, flags);
-       mutex_lock(&mac->associnfo.mutex);
+       mutex_unlock(&mac->associnfo.mutex);
        return err;
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