mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
P2P: Add invitation result notification
Add a notification function for the result of an invitation. Signed-off-by: Jean-Michel Bachot <jean-michelx.bachot@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
c2641bf7cf
commit
5ccdf84f0d
@ -381,4 +381,10 @@ void wpas_notify_p2p_go_neg_completed(struct wpa_supplicant *wpa_s, int status)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void wpas_notify_p2p_invitation_result(struct wpa_supplicant *wpa_s,
|
||||
int status, const u8 *bssid)
|
||||
{
|
||||
}
|
||||
|
||||
#endif /* CONFIG_P2P */
|
||||
|
@ -89,5 +89,7 @@ void wpas_notify_p2p_go_neg_req(struct wpa_supplicant *wpa_s,
|
||||
const u8 *src, u16 dev_passwd_id);
|
||||
void wpas_notify_p2p_go_neg_completed(struct wpa_supplicant *wpa_s,
|
||||
int status);
|
||||
void wpas_notify_p2p_invitation_result(struct wpa_supplicant *wpa_s,
|
||||
int status, const u8 *bssid);
|
||||
|
||||
#endif /* NOTIFY_H */
|
||||
|
@ -2073,6 +2073,7 @@ static void wpas_invitation_result(void *ctx, int status, const u8 *bssid)
|
||||
wpa_msg(wpa_s, MSG_INFO, P2P_EVENT_INVITATION_RESULT
|
||||
"status=%d ", status);
|
||||
}
|
||||
wpas_notify_p2p_invitation_result(wpa_s, status, bssid);
|
||||
|
||||
if (wpa_s->pending_invite_ssid_id == -1)
|
||||
return; /* Invitation to active group */
|
||||
|
Loading…
Reference in New Issue
Block a user