Linux wireless drivers development
 help / color / mirror / Atom feed
* [patch (for 2.6.24?) 1/4] ieee80211_rate: missed unlock
@ 2007-12-18  0:22 akpm
  2007-12-18 13:35 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-12-18  0:22 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, akpm, gorcunov, flamingice

From: Cyrill Gorcunov <gorcunov@gmail.com>

Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 net/mac80211/ieee80211_rate.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN net/mac80211/ieee80211_rate.c~ieee80211_rate-missed-unlock net/mac80211/ieee80211_rate.c
--- a/net/mac80211/ieee80211_rate.c~ieee80211_rate-missed-unlock
+++ a/net/mac80211/ieee80211_rate.c
@@ -33,6 +33,7 @@ int ieee80211_rate_control_register(stru
 		if (!strcmp(alg->ops->name, ops->name)) {
 			/* don't register an algorithm twice */
 			WARN_ON(1);
+			mutex_unlock(&rate_ctrl_mutex);
 			return -EALREADY;
 		}
 	}
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-18 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-18  0:22 [patch (for 2.6.24?) 1/4] ieee80211_rate: missed unlock akpm
2007-12-18 13:35 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox