From: Johannes Berg <johannes.berg@xxxxxxxxx> Yikes! The error return keeps a netdev reference and the rdev mutex locked, fix that! Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- net/wireless/nl80211.c | 2 ++ 1 file changed, 2 insertions(+) --- wireless-testing.orig/net/wireless/nl80211.c 2010-10-05 21:32:06.000000000 +0200 +++ wireless-testing/net/wireless/nl80211.c 2010-10-05 21:33:23.000000000 +0200 @@ -4330,6 +4330,8 @@ static int nl80211_pre_doit(struct genl_ } if (ops->internal_flags & NL80211_FLAG_CHECK_NETDEV_UP && !netif_running(dev)) { + cfg80211_unlock_rdev(rdev); + dev_put(dev); if (rtnl) rtnl_unlock(); return -ENETDOWN; -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html