From e6d3536e4873fb928f2cc9683df05718fddc8923 Mon Sep 17 00:00:00 2001 From: "Yang You (UU)" Date: Sat, 6 Dec 2025 18:29:41 -0800 Subject: Fix build break for NETCX2.6 only APIs --- network/wlan/WIFICX/drivercode/device.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'network/wlan/WIFICX/drivercode/device.cpp') diff --git a/network/wlan/WIFICX/drivercode/device.cpp b/network/wlan/WIFICX/drivercode/device.cpp index 9404b161..31639c9f 100644 --- a/network/wlan/WIFICX/drivercode/device.cpp +++ b/network/wlan/WIFICX/drivercode/device.cpp @@ -80,6 +80,9 @@ NTSTATUS EvtWifiDeviceCreateAdapter(WDFDEVICE Device, NETADAPTER_INIT* AdapterIn return ntStatus; } + auto wifiNetvDevice = WifiGetIhvDeviceContext(Device); + wifiNetvDevice->netAdapters[WifiAdapterGetPortId(netAdapter)] = netAdapter; + WFCInfo("%!FUNC!: Success!"); return ntStatus; } -- cgit v1.3.1