[PATCH] Enable parsing of multiple ciphers.

Jouni Malinen j at w1.fi
Sun Jun 24 17:47:58 EDT 2012


On Mon, Apr 23, 2012 at 02:56:17PM +0200, Lukasz Kucharczyk wrote:
> It was impossible to set multiple cipher using wpa_cli as
> set_network command takes exactly 3 parameters. E.g.: with
> this change, following command will be accepted by wpa_cli:
> 
> set_network 0 pairwise "CCMP TKIP"

To be exact, it was not possible to do this from the interactive mode in
wpa_cli. It is possible to do this from command line with
wpa_cli set_network 0 pairwise "CCMP TKIP"

> diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
> @@ -833,12 +833,13 @@ static int wpa_config_parse_auth_alg(const struct parse_data *data,

Was this really supposed to be changing wpa_config_parse_auth_alg? Or
wpa_config_parse_cipher()? Or both?

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list