Re: [PATCH 1/2] scan: fix invalid read when canceling an ongoing scan

Denis Kenzior
2024-07-24T14:14:49Z

Hi James,

On 7/24/24 7:14 AM, James Prestwood wrote:
> When the survey code was added it neglected to add the same
> cancelation logic that existed for the GET_SCAN call, i.e. if
> a scan was canceled and there was a pending GET_SURVEY to the
> kernel that needs to be canceled, and the request cleaned up.
>
> Fixes: 35808debae ("scan: use GET_SURVEY for SNR calculation in ranking")
> ---
> src/scan.c | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>

Both applied, thanks.

Regards,
-Denis