projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1857672
)
[PATCH] ieee80211softmac: Fix mutex_lock at exit of ieee80211_softmac_get_genie
author
Ulrich Kunitz
<kune@deine-taler.de>
Sun, 10 Dec 2006 17:39:28 +0000
(18:39 +0100)
committer
Chris Wright
<chrisw@sous-sol.org>
Wed, 10 Jan 2007 19:05:17 +0000
(11:05 -0800)
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@deine-taler.de>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ieee80211/softmac/ieee80211softmac_wx.c
patch
|
blob
|
history
diff --git
a/net/ieee80211/softmac/ieee80211softmac_wx.c
b/net/ieee80211/softmac/ieee80211softmac_wx.c
index 5b7b5b41554dfc8a1b094e671a15ddecbf5b3529..70d42920a1f2b73a297e28809bf28e4780ca7d56 100644
(file)
--- 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_
un
lock(&mac->associnfo.mutex);
return err;
}