Messages in this thread | | | Date | Fri, 9 Apr 2021 14:03:01 +0200 | From | Greg KH <> | Subject | Re: [PATCH] staging: rtl8712: fix wrong function output |
| |
On Fri, Apr 09, 2021 at 01:41:59PM +0200, Sergei Krainov wrote: > 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@gmail.com> > > > --- > > > 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.
What 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.
I do not understand at all, sorry.
Please resend with a "Fixes:" tag that shows the commit that this fixes.
thanks,
greg k-h
| |