commit | e4d005b80deeb053526ca089510bf2e20473ef62 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Jan 31 13:12:40 2020 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Feb 07 12:38:21 2020 +0100 |
tree | 2fc56dc5a21feef5d4cfeb90478b4db51ae4a5b1 | |
parent | 75e296e9b22aef6fa467523ace87ef623dac1fad [diff] |
mac80211: refactor extended element parsing This code was really ugly, refactor it a bit to make it more readable. While at it, use sizeof() and fix the UORA element length check bug. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/20200131111300.891737-4-luca@coelho.fi Signed-off-by: Johannes Berg <johannes.berg@intel.com>