|
@@ -3748,6 +3748,13 @@ static void wpas_presence_resp(void *ctx, const u8 *src, u8 status,
|
|
|
}
|
|
|
|
|
|
|
|
|
+static int _wpas_p2p_in_progress(void *ctx)
|
|
|
+{
|
|
|
+ struct wpa_supplicant *wpa_s = ctx;
|
|
|
+ return wpas_p2p_in_progress(wpa_s);
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* wpas_p2p_init - Initialize P2P module for %wpa_supplicant
|
|
|
* @global: Pointer to global data from wpa_supplicant_init()
|
|
@@ -3795,6 +3802,7 @@ int wpas_p2p_init(struct wpa_global *global, struct wpa_supplicant *wpa_s)
|
|
|
p2p.go_connected = wpas_go_connected;
|
|
|
p2p.presence_resp = wpas_presence_resp;
|
|
|
p2p.is_concurrent_session_active = wpas_is_concurrent_session_active;
|
|
|
+ p2p.is_p2p_in_progress = _wpas_p2p_in_progress;
|
|
|
|
|
|
os_memcpy(wpa_s->global->p2p_dev_addr, wpa_s->own_addr, ETH_ALEN);
|
|
|
os_memcpy(p2p.dev_addr, wpa_s->global->p2p_dev_addr, ETH_ALEN);
|