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

Peer, Ilan ilan.peer at intel.com
Sun Mar 30 02:09:12 EDT 2014


> -----Original Message-----
> From: hostap-bounces at lists.shmoo.com [mailto:hostap-
> bounces at lists.shmoo.com] On Behalf Of Jouni Malinen
> Sent: Friday, March 28, 2014 20:43
> To: hostap at lists.shmoo.com
> Subject: Re: [PATCH 3/3] wpa_supplicant: cancel scan work when starting a
> connection
> 
> 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?

Agree ... missed this point.

Do I need to do something special to abandon it?

Thanks,

Ilan.


More information about the HostAP mailing list