diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c index 5740bf720..4daffd845 100644 --- a/wpa_supplicant/notify.c +++ b/wpa_supplicant/notify.c @@ -395,4 +395,11 @@ void wpas_notify_p2p_sd_request(struct wpa_supplicant *wpa_s, { } + +void wpas_notify_p2p_sd_response(struct wpa_supplicant *wpa_s, + const u8 *sa, u16 update_indic, + const u8 *tlvs, size_t tlvs_len) +{ +} + #endif /* CONFIG_P2P */ diff --git a/wpa_supplicant/notify.h b/wpa_supplicant/notify.h index 3cea8f94b..4e55bd145 100644 --- a/wpa_supplicant/notify.h +++ b/wpa_supplicant/notify.h @@ -95,5 +95,8 @@ void wpas_notify_p2p_sd_request(struct wpa_supplicant *wpa_s, int freq, const u8 *sa, u8 dialog_token, u16 update_indic, const u8 *tlvs, size_t tlvs_len); +void wpas_notify_p2p_sd_response(struct wpa_supplicant *wpa_s, + const u8 *sa, u16 update_indic, + const u8 *tlvs, size_t tlvs_len); #endif /* NOTIFY_H */ diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c index e2e374515..431987a16 100644 --- a/wpa_supplicant/p2p_supplicant.c +++ b/wpa_supplicant/p2p_supplicant.c @@ -1651,6 +1651,8 @@ void wpas_sd_response(void *ctx, const u8 *sa, u16 update_indic, pos = tlv_end; } + + wpas_notify_p2p_sd_response(wpa_s, sa, update_indic, tlvs, tlvs_len); }