net: rockchip_wlan: rtl8188fu: fix count to 1024 for v5.7.4.2_36687.20200814

Fixes: ac460ece42 ("net: rockchip_wlan: rtl8188fu: update to v5.7.4.2_36687.20200814")
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
Change-Id: Ibc6d34e82e46212554a96355bfc0503a7788795a
This commit is contained in:
Yao Xiao
2020-11-18 21:08:08 +08:00
committed by Tao Huang
parent 04c859872b
commit e9d6367f7d
2 changed files with 2 additions and 2 deletions

View File

@@ -375,7 +375,7 @@ PHY_SetRFReg_8188F(
u32 Original_Value, BitShift;
if (eRFPath >= MAX_RF_PATH)
return 0;
return;
#if (DISABLE_BB_RF == 1)
return;

View File

@@ -12561,7 +12561,7 @@ static int _rtw_ioctl_wext_private(struct net_device *dev, union iwreq_data *wrq
count = 0;
do {
str = strsep(&ptr, delim);
if (NULL == str || count >= 4096)
if (NULL == str || count >= 1024)
break;
sscanf(str, "%i", &temp);
((s32 *)buffer)[count++] = (s32)temp;