Searched refs:funcs (Results 1 – 1 of 1) sorted by relevance
2261 struct cfg80211_nan_func *func, **funcs; in ieee80211_reconfig_nan() local2269 funcs = kcalloc(sdata->local->hw.max_nan_de_entries + 1, in ieee80211_reconfig_nan()2270 sizeof(*funcs), in ieee80211_reconfig_nan()2272 if (!funcs) in ieee80211_reconfig_nan()2282 funcs[i++] = func; in ieee80211_reconfig_nan()2286 for (i = 0; funcs[i]; i++) { in ieee80211_reconfig_nan()2287 res = drv_add_nan_func(sdata->local, sdata, funcs[i]); in ieee80211_reconfig_nan()2290 funcs[i]->instance_id, in ieee80211_reconfig_nan()2295 kfree(funcs); in ieee80211_reconfig_nan()