Re: [PATCH] wpa_supplicant: prohibit open network security for 6 GHz.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 27, 2023 at 09:37:59PM -0700, David Downey wrote:
> diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
> @@ -628,6 +628,11 @@ static int wpa_supplicant_ssid_bss_match(struct
> wpa_supplicant *wpa_s,
>      if (ret >= 0)
>          return ret;
> 
> +    if (is_6ghz_bss && (ssid->key_mgmt & WPA_KEY_MGMT_NONE)) {
> +        wpa_dbg(wpa_s, MSG_DEBUG, "   skip - 6 GHz open network illegal");
> +        return 0;
> +    }

This does not look correct. This would prevent any association on the 6
GHz band regardless of the AP's configuration if the local network
profile happens to allow open mode connections _on any band_. There is a
check for no RSNE on the 6 GHz band just a couple of lines after this
location in the function.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux