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

Johannes Berg johannes at sipsolutions.net
Tue Apr 9 09:41:13 EDT 2013


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?

johannes



More information about the HostAP mailing list