[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061210172701.GA29871@p15091797.pureserver.info>
Date: Sun, 10 Dec 2006 18:27:01 +0100
From: Ulrich Kunitz <kune@...ne-taler.de>
To: netdev@...r.kernel.org
Cc: "John W. Linville" <linville@...driver.com>,
Andrew Morton <akpm@...l.org>,
Johannes Berg <johannes@...solutions.net>, dsd@...too.org
Subject: [PATCH] ieee80211softmac: Fix mutex_lock at exit of ieee80211_softmac_get_genie
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 <kune@...ne-taler.de>
---
net/ieee80211/softmac/ieee80211softmac_wx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/ieee80211/softmac/ieee80211softmac_wx.c b/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
err = -E2BIG;
}
spin_unlock_irqrestore(&mac->lock, flags);
- mutex_lock(&mac->associnfo.mutex);
+ mutex_unlock(&mac->associnfo.mutex);
return err;
}
--
1.4.1
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists