diff options
| author | Sascha Hauer <[email protected]> | 2024-08-05 08:39:13 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2024-08-10 10:35:28 +0300 |
| commit | eb84567e7208491cd6733cc867d849ab07dabd67 (patch) | |
| tree | b14cd240531858e00491b9f495e608372a9a4e31 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 4ab9f870a6335af27507d1f3bfb29635d956af48 (diff) | |
wifi: mwifiex: simplify WPA flags setting
The WPA flags setting only depends on the wpa_versions bitfield and not
on the AKM suite, so move it out of the switch/case to simplify the code
a bit. Also set bss_config->protocol to zero explicitly. This is done
only to make the code clearer, bss_config has been zero alloced by the
caller, so should be zero already. No functional change intended.
Reviewed-by: Francesco Dolcini <[email protected]>
Acked-by: Brian Norris <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sascha Hauer <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions