hostapd patch review: 'hostapd: hostapd_cli can set wpa_key_mgmt to NONE value for open networks'

Jouni Malinen j
Sun Oct 12 08:42:12 PDT 2014


On Thu, Jul 10, 2014 at 07:49:15AM +0000, Baudelet, Cedric wrote:
> Could you please review following hostapd patch?

>     hostapd: hostapd_cli can set wpa_key_mgmt to NONE value for open networks
> 
>     Updated hostapd_config_parse_key_mgmt() function to set
>     val to WPA_KEY_MGMT_NONE is wpa_key_mgmt NONE value is
>     receive through hostapd_cli.

What would this be used for? I'm not sure I understand why it would be
useful to set bss->wpa_key_mgmt to WPA_KEY_MGMT_NONE. If you do not want
WPA/WPA2, you can set wpa=0. Leaving wpa to non-zero (i.e., enabled) and
setting wpa_key_mgmt to WPA_KEY_MGMT_NONE would likely result in
undefined behavior and pretty strange WPA/RSN IE contents.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list