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

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

Merge "nl80211: check nla_nest_start() return value"

parents 6b1a84f9 1afd4e87
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -10917,6 +10917,8 @@ void cfg80211_report_wowlan_wakeup(struct wireless_dev *wdev,
		struct nlattr *reasons;

		reasons = nla_nest_start(msg, NL80211_ATTR_WOWLAN_TRIGGERS);
		if (!reasons)
			goto free_msg;

		if (wakeup->disconnect &&
		    nla_put_flag(msg, NL80211_WOWLAN_TRIG_DISCONNECT))