[PATCH 3/3] wpa_supplicant: cancel scan work when starting a connection

Jouni Malinen j
Fri Mar 28 10:42:37 PDT 2014


On Thu, Mar 27, 2014 at 08:58:34AM +0200, Ilan Peer wrote:
> Cancel a pending scan work if a connection is started, as otherwise
> the connection flow would be blocked until the scan is complete.

This looks a bit problematic since this seems to be able to drop a
special scan request that was issued through the control interface. Why
is this needed? Isn't it enough for sme_authenticate() to add a high
priority sme-connect radio work that ends up getting added to the
beginning of the queue, i.e., to be processed before the pending scan
radio work if one was there?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list