summaryrefslogtreecommitdiff
path: root/network/wlan/WIFICX/drivercode/device.cpp
diff options
context:
space:
mode:
authorYang You (UU) <[email protected]>2025-11-18 18:21:05 -0800
committerYang You (UU) <[email protected]>2025-11-18 18:21:05 -0800
commit25de639a793266bde0116816b86f8ada28808186 (patch)
tree2f12a6fc948b85f636f7871da8be3f020bc7f8e8 /network/wlan/WIFICX/drivercode/device.cpp
parent90a7fc175216f84a11cda994958cd1634341783f (diff)
add the INF file for UM and KM, make the static analysis issue free
Diffstat (limited to 'network/wlan/WIFICX/drivercode/device.cpp')
-rw-r--r--network/wlan/WIFICX/drivercode/device.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/network/wlan/WIFICX/drivercode/device.cpp b/network/wlan/WIFICX/drivercode/device.cpp
index 9ea10fd1..0fc17ea4 100644
--- a/network/wlan/WIFICX/drivercode/device.cpp
+++ b/network/wlan/WIFICX/drivercode/device.cpp
@@ -31,13 +31,6 @@ NTSTATUS EvtDeviceReleaseHardware(WDFDEVICE device, WDFCMRESLIST resourcesTransl
}
_Use_decl_annotations_
-void EvtDeviceSurpriseRemoval(WDFDEVICE device)
-{
- WFCInfo("Device=0x%p is surprise removed", device);
-}
-
-
-_Use_decl_annotations_
NTSTATUS EvtWifiDeviceCreateAdapter(WDFDEVICE Device, NETADAPTER_INIT* AdapterInit)
{
@@ -68,6 +61,15 @@ NTSTATUS EvtWifiDeviceCreateAdapter(WDFDEVICE Device, NETADAPTER_INIT* AdapterIn
}
_Use_decl_annotations_
+NTSTATUS EvtWifiDeviceCreateWifiDirectDevice(WDFDEVICE, WIFIDIRECT_DEVICE_INIT*)
+{
+ NTSTATUS status = STATUS_SUCCESS;
+ TraceEntry();
+ TraceExit(status);
+ return status;
+}
+
+_Use_decl_annotations_
void EvtAdapterCleanup(_In_ WDFOBJECT NetAdapter)
{
UNREFERENCED_PARAMETER(NetAdapter);