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

Commit 87009155 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "nl80211: fix nlmsg allocation in cfg80211_ft_event"

parents b633c9c7 a4acb447
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -15147,7 +15147,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;