wpa_supplicant: ServiceDiscoveryRequest signal (dbus)
Jouni Malinen
j
Wed Dec 21 14:38:57 PST 2011
On Wed, Dec 21, 2011 at 09:49:50AM +0900, ??? wrote:
> I modified wpas_sd_request() code to call wpas_notify_p2p_sd_request() function before returning.
> And it works in the way I expected. Now wpa_supplicant sends multiple ServiceDiscoveryRequest signals before canceling SD request.
>
> Please consider this in next patch or release.
>
> Modified code is (wpas_sd_request() in p2p_supplicant.c ):
> if (wpa_s->p2p_sd_over_ctrl_iface){
> wpas_notify_p2p_sd_request(wpa_s, freq, sa, dialog_token, // added to send signal to dbus
> update_indic, tlvs, tlvs_len);
> return; /* to be processed by an external program */
Thanks! This sounds reasonable. I applied it into hostap.git.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list