aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLior David <qca_liord@qca.qualcomm.com>2016-04-10 17:10:22 +0300
committerHamad Kadmany <hkadmany@codeaurora.org>2016-04-20 12:06:12 +0300
commitc7607c1101f15402abdd2b7f4c6acf960c5c7a68 (patch)
tree6ab2ff847308aa69072132387588ed986076b08c /src
parente4a0877119c7278cf36bc8509e64aece15c4332f (diff)
downloadandroid_external_wpa_supplicant_8-c7607c1101f15402abdd2b7f4c6acf960c5c7a68.tar.gz
android_external_wpa_supplicant_8-c7607c1101f15402abdd2b7f4c6acf960c5c7a68.tar.bz2
android_external_wpa_supplicant_8-c7607c1101f15402abdd2b7f4c6acf960c5c7a68.zip
P2P: Trigger event when invitation is accepted
Trigger an event when wpa_supplicant accepts an invitation to re-invoke a persistent group. Previously wpa_supplicant entered group formation without triggering any specific events and it could confuse clients, especially when operating with a driver that does not support concurrency between P2P and infrastructure connection. Change-Id: I8a8773d60adb4c69dc723281737a378b9dc7dd6e Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> Git-commit: 0ee89250982cd3d424952d88cdc2f5c52e500a81 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 985990
Diffstat (limited to 'src')
-rw-r--r--src/common/wpa_ctrl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/wpa_ctrl.h b/src/common/wpa_ctrl.h
index d93e37b3..a36ba21e 100644
--- a/src/common/wpa_ctrl.h
+++ b/src/common/wpa_ctrl.h
@@ -185,6 +185,7 @@ extern "C" {
#define P2P_EVENT_SERV_ASP_RESP "P2P-SERV-ASP-RESP "
#define P2P_EVENT_INVITATION_RECEIVED "P2P-INVITATION-RECEIVED "
#define P2P_EVENT_INVITATION_RESULT "P2P-INVITATION-RESULT "
+#define P2P_EVENT_INVITATION_ACCEPTED "P2P-INVITATION-ACCEPTED "
#define P2P_EVENT_FIND_STOPPED "P2P-FIND-STOPPED "
#define P2P_EVENT_PERSISTENT_PSK_FAIL "P2P-PERSISTENT-PSK-FAIL id="
#define P2P_EVENT_PRESENCE_RESPONSE "P2P-PRESENCE-RESPONSE "