Home
last modified time | relevance | path

Searched refs:res_buf_len (Results 1 – 1 of 1) sorted by relevance

/external/wpa_supplicant_8/src/drivers/
Ddriver_wext.c1152 size_t res_buf_len; in wpa_driver_wext_giwscan() local
1154 res_buf_len = IW_SCAN_MAX_DATA; in wpa_driver_wext_giwscan()
1156 res_buf = os_malloc(res_buf_len); in wpa_driver_wext_giwscan()
1162 iwr.u.data.length = res_buf_len; in wpa_driver_wext_giwscan()
1167 if (errno == E2BIG && res_buf_len < 65535) { in wpa_driver_wext_giwscan()
1170 res_buf_len *= 2; in wpa_driver_wext_giwscan()
1171 if (res_buf_len > 65535) in wpa_driver_wext_giwscan()
1172 res_buf_len = 65535; /* 16-bit length field */ in wpa_driver_wext_giwscan()
1175 (unsigned long) res_buf_len); in wpa_driver_wext_giwscan()
1184 if (iwr.u.data.length > res_buf_len) { in wpa_driver_wext_giwscan()