[RFC] drivers: add separate driver flags for 802.1X and WPA/WPA2-Personal

Arend Van Spriel arend.vanspriel at broadcom.com
Wed Mar 29 00:27:30 PDT 2017



On 28-3-2017 14:47, Otcheretianski, Andrei wrote:
>>
>> diff --git a/src/drivers/driver_openbsd.c b/src/drivers/driver_openbsd.c index
>> e94eda0..ae61d74 100644
>> --- a/src/drivers/driver_openbsd.c
>> +++ b/src/drivers/driver_openbsd.c
>> @@ -62,7 +62,8 @@ static int
>>  wpa_driver_openbsd_get_capa(void *priv, struct wpa_driver_capa *capa)  {
>>  	os_memset(capa, 0, sizeof(*capa));
>> -	capa->flags = WPA_DRIVER_FLAGS_4WAY_HANDSHAKE;
>> +	capa->flags = WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_PSK &
>> +		      WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_8021X;
> 
> I guess you meant | here.

Ouch. That is bad! Let see how I can weasel out here... Nope, your
"guess" is obviously right :-p

Thanks,
Arend



More information about the Hostap mailing list