diff options
Diffstat (limited to 'net/mac80211')
| -rw-r--r-- | net/mac80211/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 22efb399b5bc..b2e6c8b98381 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c @@ -1742,8 +1742,7 @@ static int ieee80211_reconfig_nan(struct ieee80211_sub_if_data *sdata) if (WARN_ON(res)) return res; - funcs = kzalloc_objs(*funcs, sdata->local->hw.max_nan_de_entries + 1, - GFP_KERNEL); + funcs = kzalloc_objs(*funcs, sdata->local->hw.max_nan_de_entries + 1); if (!funcs) return -ENOMEM; |
