[PATCH] Android: Use extended P2P functionality (ANDROID_P2P) for all vendors
Arik Nemtsov
arik
Sun Apr 13 03:53:04 PDT 2014
On Sat, Apr 12, 2014 at 2:05 AM, Dmitry Shmidt <dimitrysh at google.com> wrote:
> Change-Id: I781ce5410bda14bc55719198e14c9ce36fa3b648
> Signed-off-by: Dmitry Shmidt <dimitrysh at google.com>
> ---
> hostapd/Android.mk | 12 +++---------
> src/drivers/driver_nl80211.c | 17 +++++++++++++++++
> wpa_supplicant/Android.mk | 15 ++++++---------
> 3 files changed, 26 insertions(+), 18 deletions(-)
>
> diff --git a/hostapd/Android.mk b/hostapd/Android.mk
[...]
> +int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon,
> + const struct wpabuf *proberesp,
> + const struct wpabuf *assocresp) {
> + return -1;
> +}
I think you need to return 0 here for the non-implemented case.
Otherwise AP init fails.
Arik
More information about the Hostap
mailing list