commit | bd4e4d62d97c0fc150405ae2f700af51ab586e5b | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon Feb 14 17:29:22 2022 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Feb 16 15:40:48 2022 +0100 |
tree | 697427df551747541c1e7df94875464752898c5b | |
parent | d61f4274daa41565b5f9ce589b4ba1239781c139 [diff] |
mac80211: parse only HE capability elements with valid size The code validates the HE capability element size later, but slightly wrong, so use the new helper to do it right and only accept it if it has a good size. Link: https://lore.kernel.org/r/20220214172920.b5b06f264a61.I645ac1e2dc0ace223ef3e551cd5a71c88bd55e04@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>