projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ef19e6
)
ieee80211_rate: missed unlock
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Thu, 13 Dec 2007 23:52:11 +0000
(15:52 -0800)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 17 Dec 2007 22:01:39 +0000
(17:01 -0500)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_rate.c
patch
|
blob
|
history
diff --git
a/net/mac80211/ieee80211_rate.c
b/net/mac80211/ieee80211_rate.c
index 7254bd6098398e0f408afe8f6eff40922dfe3c71..3260a4a0ecc5e0cd3ce08ad70bc8e5fdb8eb6300 100644
(file)
--- 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;
}
}