Wi-Fi Direct Probe response from GO

Jouni Malinen j at w1.fi
Fri Apr 17 08:18:06 EDT 2015


On Fri, Apr 17, 2015 at 01:38:22AM -0400, anjalik at iwavesystems.com wrote:
> I analysed the code flow by adding debug prints  and reached the
> function handle_probe_req(). In the function the station info is
> obtained as
> 
> sta = ap_get_sta(hapd, mgmt->sa);

> I checked the value of s its null.

Which is the normal case.. There is no STA entry before connection.

> And returns from the
> handle_probe_req() instead of moving to the hostapd_gen_probe_resp()
> within the handle_probe_req().

Where does the function return before calling hostapd_gen_probe_resp()?

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list