Commit 1f5fc70a authored by Jiri Slaby's avatar Jiri Slaby Committed by John W. Linville
Browse files

Wireless: nl80211, fix lock imbalance

Don't forget to unlock cfg80211_mutex in one fail path of
Signed-off-by: default avatarJiri Slaby <>
Signed-off-by: default avatarJohn W. Linville <>
parent 0ca1b08e
......@@ -447,6 +447,7 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
rdev = __cfg80211_drv_from_info(info);
if (IS_ERR(rdev)) {
result = PTR_ERR(rdev);
goto unlock;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment