Searched refs:ifinfo (Results 1 – 2 of 2) sorted by relevance
1219 interface_info *ifinfo = (interface_info *)malloc(sizeof(interface_info)); in wifi_init_interfaces() local1220 if (get_interface(de->d_name, ifinfo) != WIFI_SUCCESS) { in wifi_init_interfaces()1221 free(ifinfo); in wifi_init_interfaces()1224 ifinfo->handle = handle; in wifi_init_interfaces()1225 info->interfaces[i] = ifinfo; in wifi_init_interfaces()
1126 interface_info *ifinfo in wifi_init_interfaces() local1128 if (ifinfo == NULL) { in wifi_init_interfaces()1137 if (get_interface(de->d_name, ifinfo) != WIFI_SUCCESS) { in wifi_init_interfaces()1138 free(ifinfo); in wifi_init_interfaces()1141 ifinfo->handle = handle; in wifi_init_interfaces()1142 info->interfaces[i] = ifinfo; in wifi_init_interfaces()