[PATCH] Reschedule scan from wpas_stop_pno if it was postponed

Arik Nemtsov arik
Tue Mar 31 08:27:25 PDT 2015

On Tue, Mar 31, 2015 at 6:23 PM, Dmitry Shmidt <dimitrysh at google.com> wrote:
> On Tue, Mar 31, 2015 at 1:54 AM, Arik Nemtsov <arik at wizery.com> wrote:
>> Patch looks good in general, but don't you also want to remove the
>> below from wpas_stop_pno:
>> if (wpa_s->wpa_state == WPA_SCANNING)
>>     wpa_supplicant_req_scan(wpa_s, 1, 0);
> In general - you are right, but if some kernel will not send SCHED_SCAN_STOPPED,
> it will be additinal "insurance"...

Won't this basically break wpa_s operation if someone did that?
(including some PNO state code).
But yea I guess it doesn't really hurt..


More information about the Hostap mailing list