Re: [PATCH] staging: rtl8712: fix wrong function output
From: Greg KH
Date: Fri Apr 09 2021 - 02:33:28 EST
On Fri, Apr 09, 2021 at 01:45:27AM +0200, Sergei Krainov wrote:
> Function r8712_find_network() were returning wlan_network even if it
> didn't match required address. This happened due to not checking if
> list end was reached and returning last processed wlan_network.
>
> Signed-off-by: Sergei Krainov <sergei.krainov.lkd@xxxxxxxxx>
> ---
> drivers/staging/rtl8712/rtl871x_mlme.c | 2 ++
> 1 file changed, 2 insertions(+)
What commit does this "fix"? Or has this bug been there always?
thanks,
greg k-h