Searched refs:ifinfo (Results 1 – 2 of 2) sorted by relevance
968 interface_info *ifinfo in wifi_init_interfaces() local970 if (ifinfo == NULL) { in wifi_init_interfaces()979 if (get_interface(de->d_name, ifinfo) != WIFI_SUCCESS) { in wifi_init_interfaces()980 free(ifinfo); in wifi_init_interfaces()983 ifinfo->handle = handle; in wifi_init_interfaces()984 info->interfaces[i] = ifinfo; in wifi_init_interfaces()
1153 interface_info *ifinfo = (interface_info *)malloc(sizeof(interface_info)); in wifi_init_interfaces() local1154 if (get_interface(de->d_name, ifinfo) != WIFI_SUCCESS) { in wifi_init_interfaces()1155 free(ifinfo); in wifi_init_interfaces()1158 ifinfo->handle = handle; in wifi_init_interfaces()1159 info->interfaces[i] = ifinfo; in wifi_init_interfaces()