Re: [PATCH] staging: rtl8188eu: Fix off-by-one in core/rtw_mlme_ext.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, you are right.

I will send a patch to revert ef9209b642f.

Young

On 2018/11/27 16:49, Dan Carpenter wrote:
> On Tue, Nov 27, 2018 at 08:41:53AM +0000, Yang Xiao wrote:
>> Okay. I can send a patch to revert ef9209b642f.
>>
>> But, can you make sure that the condition "(pstapriv->sta_aid[pstat->aid
>> - 1] == NULL)" can satisfies in the for loop?
> ->max_num_sta is either set in _rtw_init_sta_priv() or rtw_set_beacon().
> You can see that it's <= MAX_STA.
>
> regards,
> dan carpenter
>
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux