aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorWen Gong <wgong@codeaurora.org>2021-09-24 06:00:51 -0400
committerJohannes Berg <johannes.berg@intel.com>2021-09-24 12:57:24 +0200
commit37123c3baaee4d6a189ad4abad804770d4a607e8 (patch)
tree1acf87721580f0a22c395967cff25c97d9e1c859 /net/mac80211/util.c
parentnl80211: don't put struct cfg80211_ap_settings on stack (diff)
downloadwireguard-linux-37123c3baaee4d6a189ad4abad804770d4a607e8.tar.xz
wireguard-linux-37123c3baaee4d6a189ad4abad804770d4a607e8.zip
mac80211: use ieee802_11_parse_elems() in ieee80211_prep_channel()
In function ieee80211_prep_channel(), it has some ieee80211_bss_get_ie() and cfg80211_find_ext_ie() to get the IE, this is to use another function ieee802_11_parse_elems() to get all the IEs in one time. Signed-off-by: Wen Gong <wgong@codeaurora.org> Link: https://lore.kernel.org/r/20210924100052.32029-6-wgong@codeaurora.org [remove now unnecessary size validation, use -ENOMEM, free elems earlier for less error handling code] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions