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.c1144 size_t res_buf_len; in wpa_driver_wext_giwscan() local
1146 res_buf_len = IW_SCAN_MAX_DATA; in wpa_driver_wext_giwscan()
1148 res_buf = os_malloc(res_buf_len); in wpa_driver_wext_giwscan()
1154 iwr.u.data.length = res_buf_len; in wpa_driver_wext_giwscan()
1159 if (errno == E2BIG && res_buf_len < 65535) { in wpa_driver_wext_giwscan()
1162 res_buf_len *= 2; in wpa_driver_wext_giwscan()
1163 if (res_buf_len > 65535) in wpa_driver_wext_giwscan()
1164 res_buf_len = 65535; /* 16-bit length field */ in wpa_driver_wext_giwscan()
1167 (unsigned long) res_buf_len); in wpa_driver_wext_giwscan()
1176 if (iwr.u.data.length > res_buf_len) { in wpa_driver_wext_giwscan()