nl80211: don't put struct cfg80211_ap_settings on stack
authorJohannes Berg <johannes.berg@intel.com>
Thu, 23 Sep 2021 14:18:37 +0000 (16:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 Sep 2021 14:37:47 +0000 (16:37 +0200)
commit9e263e193af73d2509dc3102a680a11130f44e20
tree90cc259f5994d3c6e0ec0950078ec27fe7999f89
parent5d24828d05f37ad770599de00b53d5386e35aa61
nl80211: don't put struct cfg80211_ap_settings on stack

This struct has grown quite a bit, so dynamically allocate
it instead of putting it on the stack.

Link: https://lore.kernel.org/r/20210923161836.5813d881eae3.I0fc0f83905b0bfa332c4f1505e00c13abfca3545@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c