Merge "nl80211: fix nlmsg allocation in cfg80211_ft_event"
This commit is contained in:
commit
69f3e88c6c
1 changed files with 2 additions and 1 deletions
|
@ -13807,7 +13807,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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue