diff options
author | 윤민홍 <mhyun@etri.re.kr> | 2011-12-22 00:34:29 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2011-12-22 00:34:29 +0200 |
commit | 3b655312d4c06252990fd9ba38584acf6cabc051 (patch) | |
tree | 06a3947f303c53047298ea5da1c7136247b9f488 | |
parent | 9b6f44cb63fe4753cd7abebb9f0f4a917b497b6f (diff) | |
download | external_wpa_supplicant_8_ti-3b655312d4c06252990fd9ba38584acf6cabc051.zip external_wpa_supplicant_8_ti-3b655312d4c06252990fd9ba38584acf6cabc051.tar.gz external_wpa_supplicant_8_ti-3b655312d4c06252990fd9ba38584acf6cabc051.tar.bz2 |
P2P: Send D-Bus ServiceDiscoveryRequest signal for external SD processing
wpas_notify_p2p_sd_request() needs to be called when
p2p_sd_over_ctrl_iface is set to provide SD events over D-Bus similarly
to the ctrl_iface events.
-rw-r--r-- | wpa_supplicant/p2p_supplicant.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c index 7cf37d0..a606b9d 100644 --- a/wpa_supplicant/p2p_supplicant.c +++ b/wpa_supplicant/p2p_supplicant.c @@ -1352,8 +1352,11 @@ void wpas_sd_request(void *ctx, int freq, const u8 *sa, u8 dialog_token, os_free(buf); } - if (wpa_s->p2p_sd_over_ctrl_iface) + if (wpa_s->p2p_sd_over_ctrl_iface) { + wpas_notify_p2p_sd_request(wpa_s, freq, sa, dialog_token, + update_indic, tlvs, tlvs_len); return; /* to be processed by an external program */ + } resp = wpabuf_alloc(10000); if (resp == NULL) |