Searched refs:ifinfo (Results 1 – 2 of 2) sorted by relevance
1222 interface_info *ifinfo = (interface_info *)malloc(sizeof(interface_info)); in wifi_init_interfaces() local1223 if (get_interface(de->d_name, ifinfo) != WIFI_SUCCESS) { in wifi_init_interfaces()1224 free(ifinfo); in wifi_init_interfaces()1227 ifinfo->handle = handle; in wifi_init_interfaces()1228 info->interfaces[i] = ifinfo; in wifi_init_interfaces()
1799 interface_info *ifinfo in wifi_init_interfaces() local1801 if (ifinfo == NULL) { in wifi_init_interfaces()1810 if (get_interface(de->d_name, ifinfo) != WIFI_SUCCESS) { in wifi_init_interfaces()1811 free(ifinfo); in wifi_init_interfaces()1814 ifinfo->handle = handle; in wifi_init_interfaces()1815 info->interfaces[i] = ifinfo; in wifi_init_interfaces()