wifi: mac80211: disambiguate element parsing errors
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 19:06:53 +0000 (20:06 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 14:00:42 +0000 (15:00 +0100)
commit3552a22880eed3e834a33d02aec6800974bb42b4
treed4db5214f1d4f34c43bbc8d33c55db4d6d118925
parent676259100cf3a81dd2d47918b36edb237986b9df
wifi: mac80211: disambiguate element parsing errors

Let the element parsing function return what kind of error
was encountered, as a bitmap, even if nothing currently
checks for which specific error it was, we'll use it later.

Link: https://msgid.link/20240129200652.1a69f2a31ec7.I55b86561d64e7ef1504c73f6f2813c33030c8136@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/util.c