diff options
| author | Johannes Berg <[email protected]> | 2024-01-29 19:54:21 +0100 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-02-02 14:20:43 +0100 |
| commit | 57d1b4632e03e5f938972055c45b0f2e475e6929 (patch) | |
| tree | d954bc05cb25fa323f3c53e82b85b31c6f815f61 /tools/perf/scripts/python/libxed.py | |
| parent | 392d3dfdfd68f4be6964d4fc8f3979a7a859e6f2 (diff) | |
wifi: nl80211: move WPA version validation to policy
For a contiguous mask (starting with bit 0) of allowed values
in a bitmap, it's equivalent to check "!(val & ~mask)" and
"val ∈ [0, mask]". Use that to move the WPA versions check to
the policy, for better error reporting.
Reviewed-by: Jeff Johnson <[email protected]>
Link: https://msgid.link/20240129195421.e8cae9866ccb.I2539b395e3476307d702c6867e51a937e52e57a0@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions