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

Commit 1a9b217d 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 nlmsg allocation in cfg80211_ft_event"

parents 3863acac fe06451a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -14868,7 +14868,8 @@ void cfg80211_ft_event(struct net_device *netdev,
	if (!ft_event->target_ap)
		return;

	msg = nlmsg_new(100 + ft_event->ric_ies_len, GFP_KERNEL);
	msg = nlmsg_new(100 + ft_event->ies_len + ft_event->ric_ies_len,
			GFP_KERNEL);
	if (!msg)
		return;