[PATCH v2 01/10] nl80211_driver: Identify if nl80211 is capable of p2p device abstraction

Arend van Spriel arend
Tue Apr 9 06:45:56 PDT 2013


On 04/09/2013 03:41 PM, Johannes Berg wrote:
> On Sun, 2013-03-17 at 22:57 +0200, David Spinadel wrote:
>
>> @@ -2871,6 +2875,10 @@ static int wpa_driver_nl80211_get_info(struct wpa_driver_nl80211_data *drv,
>>
>>   	if (info->p2p_go_supported && info->p2p_client_supported)
>>   		drv->capa.flags |= WPA_DRIVER_FLAGS_P2P_CAPABLE;
>> +
>> +	if (p2p_device_supported)
>> +		capa->flags |= WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE;
>
> Doesn't that have to be info->... to even compile?

It does. At least with my compiler :-)

I notified David some time ago about it. I guess there should be a v3 
series. I guess after the probe_req reporting issue I mentioned last 
week has been looked into.

Regards,
Arend




More information about the Hostap mailing list