[PATCH] wpa_supplicant: do not retry scan if operation is not supported

Jouni Malinen j at w1.fi
Sat Oct 10 14:48:45 EDT 2020


On Thu, Jun 18, 2020 at 04:39:12PM +0200, Georg Müller wrote:
> When using NetworkManager to set up an access point, there seems to be a
> race condition which can lead to a new log message every second.
> 
> The following message appears in AP mode:
> 
>     CTRL-EVENT-SCAN-FAILED ret=-95 retry=1
> 
> Normally, this log message only appears once. But then (and only then) the
> race is triggered and they appear every second, the following log messages
> are also present:
> 
>     Reject scan trigger since one is already pending
>     Failed to initiate AP scan
> 
> This patch just disables the retry for requests where the operation is
> not supported anyway.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list