[RFC 2/2] wpa_supplicant: Notify scheduled scan stop, add notify logging
Jouni Malinen
j at w1.fi
Sat Dec 28 10:02:46 PST 2024
On Fri, Dec 13, 2024 at 07:56:30PM +0200, Jussi Laakkonen wrote:
> Add call to wpa_supplicant_notify_scanning() into
> wpa_supplicant_stop_sched_scan() to notify also the end of the scheduled
> scan. This is for upper layer components relying on the scan state to be
> able to trigger their own scan requests. Also add more logging for the
> scan start and stop notifies.
Why would this be needed when there is already a similar call in
EVENT_SCHED_SCAN_STOPPED event handler? Both the scheduled scan and
"normal scan" use the driver events to indicate when scanning has been
stopped and this should indeed be done only after the driver has
actually stopped the operation and not when wpa_supplicant has requested
the driver to do so.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list