mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user