diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-09-30 13:11:20 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-10-01 11:02:24 +0200 |
commit | 636707e593120c9fa35f6a908c0d052f6154910d (patch) | |
tree | 8924546539f69d05b150ce3904839235a92dc798 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ca6e11c337daf7925ff8a2aac8e84490a8691905 (diff) |
mac80211: mesh: fix HE operation element length check
The length check here was bad, if the length doesn't at
least include the length of the fixed part, we cannot
call ieee80211_he_oper_size() to determine the total.
Fix this, and convert to cfg80211_find_ext_elem() while
at it.
Cc: stable@vger.kernel.org
Fixes: 70debba3ab7d ("mac80211: save HE oper info in BSS config for mesh")
Link: https://lore.kernel.org/r/20210930131120.b0f940976c56.I954e1be55e9f87cc303165bff5c906afe1e54648@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions