diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-01-31 13:12:40 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-02-07 12:38:21 +0100 |
commit | e4d005b80deeb053526ca089510bf2e20473ef62 (patch) | |
tree | 2fc56dc5a21feef5d4cfeb90478b4db51ae4a5b1 /net/mac80211/aes_ccm.h | |
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>
Diffstat (limited to 'net/mac80211/aes_ccm.h')
0 files changed, 0 insertions, 0 deletions