2023-10-03 11:44:20

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] wifi: rtlwifi: use unsigned long for rtl_bssid_entry timestamp

Dmitry Antipov <[email protected]> wrote:

> Since 'age' of 'struct rtl_bssid_entry' is in jiffies, prefer 'unsigned
> long' over 'u32' to avoid possible truncation in 'rtl_collect_scan_list()'
> and thus weird result in 'rtl_scan_list_expire()'. Compile tested only.
>
> Signed-off-by: Dmitry Antipov <[email protected]>
> Acked-by: Ping-Ke Shih <[email protected]>

Patch applied to wireless-next.git, thanks.

f0fb62e090bd wifi: rtlwifi: use unsigned long for rtl_bssid_entry timestamp

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches