[PATCH 10/18] wpa_supplicant: Fix PNO restart flow

Jouni Malinen j at w1.fi
Sun Oct 2 12:32:55 PDT 2016


On Mon, Sep 05, 2016 at 05:33:03PM +0300, andrei.otcheretianski at intel.com wrote:
> PNO is sometimes restarted due to changes in scan parameters
> (e.g., selected network changed or MAC randomization being
>  enabled/disabled).
> Restart is done by stopping PNO and immediately starting it again.
> This may result in the SCHED_SCAN_STOPPED event being received after
> the request for new PNO, which will make wpa_supplicant believe PNO
> is not active although it is actually is. As a result, the next
> request to start PNO will fail because PNO is active and should be
> stopped first.
> 
> Fix this by deferring the request to start PNO until the
> SCHED_SCAN_STOPPED event is received.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list