Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote: > 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 <francesco.dolcini@xxxxxxxxxxx> > Acked-by: Brian Norris <briannorris@xxxxxxxxxxxx> > Link: https://lore.kernel.org/r/20240723-mwifiex-wpa-psk-sha256-v3-1-025168a91da1@xxxxxxxxxxxxxx > Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> 3 patches applied to wireless-next.git, thanks. eb84567e7208 wifi: mwifiex: simplify WPA flags setting 36aa64991543 wifi: mwifiex: fix key_mgmt setting ca0107c3aa30 wifi: mwifiex: add support for WPA-PSK-SHA256 -- https://patchwork.kernel.org/project/linux-wireless/patch/20240805-mwifiex-wpa-psk-sha256-v4-1-e1eee80508e6@xxxxxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches