Searched refs:niface (Results 1 – 1 of 1) sorted by relevance
2973 struct wpa_interface_info *iface = NULL, *niface; in wpa_driver_ndis_get_interfaces() local3044 niface = os_zalloc(sizeof(*niface)); in wpa_driver_ndis_get_interfaces()3045 if (niface == NULL) in wpa_driver_ndis_get_interfaces()3047 niface->drv_name = "ndis"; in wpa_driver_ndis_get_interfaces()3049 niface->ifname = os_strdup(name + 8); in wpa_driver_ndis_get_interfaces()3051 niface->ifname = os_strdup(name); in wpa_driver_ndis_get_interfaces()3052 if (niface->ifname == NULL) { in wpa_driver_ndis_get_interfaces()3053 os_free(niface); in wpa_driver_ndis_get_interfaces()3056 niface->desc = os_strdup(desc); in wpa_driver_ndis_get_interfaces()3057 niface->next = iface; in wpa_driver_ndis_get_interfaces()[all …]