rtl8188eu: Change for loop counter to int to avoid wrap-around

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2022-07-18 08:52:20 -05:00
parent e43ffc5f23
commit 5f636ea7dd

View file

@ -657,7 +657,8 @@ int rtw_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, int *pairwi
int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len)
{
u8 authmode, sec_idx, i;
u8 authmode, sec_idx;
int i;
u8 wpa_oui[4] = {0x0, 0x50, 0xf2, 0x01};
uint cnt;