]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Add wpas_notify_p2p_sd_response
authorKonguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com>
Thu, 24 Feb 2011 20:47:34 +0000 (22:47 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 24 Feb 2011 20:47:34 +0000 (22:47 +0200)
Signed-off-by: Konguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
wpa_supplicant/notify.c
wpa_supplicant/notify.h
wpa_supplicant/p2p_supplicant.c

index 5740bf720ebc0c76dfc4303e2434ced378234322..4daffd84590d653d05896e4c85d582c5196a2813 100644 (file)
@@ -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 */
index 3cea8f94b7501deed402dd37f8e1d34ad8fa3ca2..4e55bd145651ab17dd589ba8c40df4677a6f764b 100644 (file)
@@ -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 */
index e2e374515c577e7d32f2402242be8171996cea40..431987a162d8c21877e548a59e445f1c32f9fdd7 100644 (file)
@@ -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);
 }