Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b1a84f9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "nl80211: fix error path in nl80211_get_key()"

parents ccdc0fa9 cc382d4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2685,7 +2685,7 @@ static int nl80211_get_key(struct sk_buff *skb, struct genl_info *info)
	hdr = nl80211hdr_put(msg, info->snd_portid, info->snd_seq, 0,
			     NL80211_CMD_NEW_KEY);
	if (!hdr)
		return -ENOBUFS;
		goto nla_put_failure;

	cookie.msg = msg;
	cookie.idx = key_idx;