Lines Matching refs:ifinfo
1595 interface_info *ifinfo = (interface_info *)malloc(sizeof(interface_info)); in wifi_init_interfaces() local
1596 if (!ifinfo) { in wifi_init_interfaces()
1602 memset(ifinfo, 0, sizeof(interface_info)); in wifi_init_interfaces()
1603 if (get_interface(de->d_name, ifinfo) != WIFI_SUCCESS) { in wifi_init_interfaces()
1607 ifinfo->is_virtual = false; in wifi_init_interfaces()
1608 ifinfo->handle = handle; in wifi_init_interfaces()
1609 info->interfaces[i] = ifinfo; in wifi_init_interfaces()
1648 interface_info *ifinfo = (interface_info *)malloc(sizeof(interface_info)); in wifi_add_iface_hal_info() local
1649 if (!ifinfo) { in wifi_add_iface_hal_info()
1655 ifinfo->handle = handle; in wifi_add_iface_hal_info()
1658 if (get_interface(ifname, ifinfo) != WIFI_SUCCESS) { in wifi_add_iface_hal_info()
1661 ifinfo->is_virtual = true; in wifi_add_iface_hal_info()
1662 info->interfaces[i] = ifinfo; in wifi_add_iface_hal_info()