[PATCH] Enable parsing of multiple ciphers.

Jouni Malinen j
Sun Jun 24 14:47:58 PDT 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