Searched refs:g_netDevice (Results 1 – 1 of 1) sorted by relevance
14 static struct NetDevice *g_netDevice = NULL; variable22 if (g_netDevice == NULL) { in WiFiNetDeviceTestEnv()28 g_netDevice = NetDeviceInit(devName, strlen(devName), WIFI_LINK, LITE_OS); in WiFiNetDeviceTestEnv()29 if (g_netDevice == NULL) { in WiFiNetDeviceTestEnv()33 g_netDevice->funType.wlanType = PROTOCOL_80211_IFTYPE_STATION; in WiFiNetDeviceTestEnv()42 if (g_netDevice != NULL) { in WiFiNetDviceTestInit()53 NetDeviceDeInit(g_netDevice); in WiFiNetDviceTestDeInit()54 g_netDevice = NULL; in WiFiNetDviceTestDeInit()60 if (g_netDevice == NULL) { in WiFiNetDviceTestAdd()66 if (NetDeviceAdd(g_netDevice) != HDF_SUCCESS) { in WiFiNetDviceTestAdd()[all …]