On Fri, Apr 09, 2021 at 08:33:23AM +0200, Greg KH wrote: > 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 This commit fixes the bug mentioned. And this commit is based on staging-next and has nothing to do with my previous patches, for which I'm sorry, I was wrong. Thanks a lot for review and your time, Sergei