patch "Revert commit ef9209b642f "staging: rtl8723bs: Fix indenting errors" added to staging-linus
Subsystems (2)
This is a note to let you know that I've just added the patch titled
Revert commit ef9209b642f "staging: rtl8723bs: Fix indenting errors
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
Quoted 1 line
From
87e4a5405f087427fbf8b437d2796283dce2b38fMon Sep 17 00:00:00 2001
From: Young Xiao <[email protected]>
Date: Tue, 27 Nov 2018 09:12:20 +0000
Subject: Revert commit ef9209b642f "staging: rtl8723bs: Fix indenting errors
and an off-by-one mistake in core/rtw_mlme_ext.c"
pstapriv->max_num_sta is always <= NUM_STA, since max_num_sta is either set in _rtw_init_sta_priv() or rtw_set_beacon().
--- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +1 -1
@@ -1565,7 +1565,7 @@ unsigned int OnAssocReq(struct adapter *padapter, union recv_frame *precv_frame)if (pstat->aid >0 ) {DBG_871X (" old AID %d\n" , pstat->aid); }else { -for (pstat->aid =1 ; pstat->aid <NUM_STA ; pstat->aid++) +for (pstat->aid =1 ; pstat->aid <=NUM_STA ; pstat->aid++)if (pstapriv->sta_aid[pstat->aid -1 ] ==NULL )break ;
Signature · 1 line
2.19.2