wpa_supplicant: ServiceDiscoveryRequest signal (dbus)
Jouni Malinen
j at w1.fi
Wed Dec 21 17:38:57 EST 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