Revert commit ef9209b642f "staging: rtl8723bs: Fix indenting errors and an off-by...
authorYoung Xiao <YangX92@hotmail.com>
Tue, 27 Nov 2018 09:12:20 +0000 (09:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 08:56:09 +0000 (09:56 +0100)
commit87e4a5405f087427fbf8b437d2796283dce2b38f
tree3a9f6f00d5ff185d5820c7562a0c8b30df79a42f
parent300cd664865bed5d50ae0a42fb4e3a6f415e8a10
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().

Fixes: ef9209b642f1 ("staging: rtl8723bs: Fix indenting errors and an off-by-one mistake in core/rtw_mlme_ext.c")
Signed-off-by: Young Xiao <YangX92@hotmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c