Re: [PATCH 1/2 v2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-21 Thread Kalle Valo
Ondrej Zary writes: > IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as > wpa_supplicant uses it for both no encryption and WEP open system. > Cache the last mode set (only of these two) and use it here. > > This allows wpa_supplicant to work with

Re: [PATCH 1/2 v2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-18 Thread Ondrej Zary
On Friday 18 September 2015 18:54:35 Dan Williams wrote: > On Tue, 2015-09-15 at 17:18 +0200, Ondrej Zary wrote: > > IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as > > wpa_supplicant uses it for both no encryption and WEP open system. > > Cache the last mode set (only of these two)

Re: [PATCH 1/2 v2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-18 Thread Dan Williams
On Fri, 2015-09-18 at 22:06 +0200, Ondrej Zary wrote: > On Friday 18 September 2015 18:54:35 Dan Williams wrote: > > On Tue, 2015-09-15 at 17:18 +0200, Ondrej Zary wrote: > > > IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as > > > wpa_supplicant uses it for both no encryption and WEP

Re: [PATCH 1/2 v2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-18 Thread Dan Williams
On Tue, 2015-09-15 at 17:18 +0200, Ondrej Zary wrote: > IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as > wpa_supplicant uses it for both no encryption and WEP open system. > Cache the last mode set (only of these two) and use it here. > > This allows wpa_supplicant to work with

[PATCH 1/2 v2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-15 Thread Ondrej Zary
IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as wpa_supplicant uses it for both no encryption and WEP open system. Cache the last mode set (only of these two) and use it here. This allows wpa_supplicant to work with unencrypted APs. Signed-off-by: Ondrej Zary