From 43a26f606c90aa4ed83e700428bed51b9d8be38b Mon Sep 17 00:00:00 2001 From: "Konguraj(Raj) Kulanthaivel" Date: Thu, 24 Feb 2011 22:47:34 +0200 Subject: [PATCH] P2P: Add wpas_notify_p2p_sd_response Signed-off-by: Konguraj(Raj) Kulanthaivel Signed-off-by: Johannes Berg --- wpa_supplicant/notify.c | 7 +++++++ wpa_supplicant/notify.h | 3 +++ wpa_supplicant/p2p_supplicant.c | 2 ++ 3 files changed, 12 insertions(+) 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); }