Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155864
b: refs/heads/master
c: 6c95e2a
h: refs/heads/master
v: v3
  • Loading branch information
Niko Jokinen authored and John W. Linville committed Jul 21, 2009
1 parent 3bd5da7 commit d938ca7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3da7429ce92abd79b14e2275a28be144ce2c3013
refs/heads/master: 6c95e2a2f0f0bf4c8880d5b74b2f7f359d352d03
5 changes: 3 additions & 2 deletions trunk/net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ static int nl80211_get_key(struct sk_buff *skb, struct genl_info *info)

if (IS_ERR(hdr)) {
err = PTR_ERR(hdr);
goto out;
goto free_msg;
}

cookie.msg = msg;
Expand All @@ -1011,7 +1011,7 @@ static int nl80211_get_key(struct sk_buff *skb, struct genl_info *info)
&cookie, get_key_callback);

if (err)
goto out;
goto free_msg;

if (cookie.error)
goto nla_put_failure;
Expand All @@ -1022,6 +1022,7 @@ static int nl80211_get_key(struct sk_buff *skb, struct genl_info *info)

nla_put_failure:
err = -ENOBUFS;
free_msg:
nlmsg_free(msg);
out:
cfg80211_put_dev(drv);
Expand Down

0 comments on commit d938ca7

Please sign in to comment.