diff options
| author | Yang You (UU) <[email protected]> | 2025-11-20 11:45:37 -0800 |
|---|---|---|
| committer | Yang You (UU) <[email protected]> | 2025-11-20 11:45:37 -0800 |
| commit | dd61a12239a771573bc87117119eceb082b9762b (patch) | |
| tree | 217d018bd8e0132a97a7515a19e8674e9601b87c /network/wlan/WIFICX/drivercode/wifitransition.cpp | |
| parent | 25de639a793266bde0116816b86f8ada28808186 (diff) | |
have the Infrastructure ready to have the driver install success and able to start handling the WifiRequest
Diffstat (limited to 'network/wlan/WIFICX/drivercode/wifitransition.cpp')
| -rw-r--r-- | network/wlan/WIFICX/drivercode/wifitransition.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network/wlan/WIFICX/drivercode/wifitransition.cpp b/network/wlan/WIFICX/drivercode/wifitransition.cpp index eccf9dc3..64811796 100644 --- a/network/wlan/WIFICX/drivercode/wifitransition.cpp +++ b/network/wlan/WIFICX/drivercode/wifitransition.cpp @@ -96,7 +96,7 @@ struct GenericTransitionTraits if (TPreM3Fn) { // Call member function pointer on WifiHAL instance - NTSTATUS preStatus = (c.DevCtx->wifiHAL->*TPreM3Fn)(); + NTSTATUS preStatus = (GetWifiHalFromHandle(c.DevCtx->WdfDevice)->*TPreM3Fn)(); if (!NT_SUCCESS(preStatus)) { return preStatus; @@ -106,7 +106,7 @@ struct GenericTransitionTraits if (THalM3Fn) { // Pass required third argument (BytesWriten) to HAL M3 function - return (c.DevCtx->wifiHAL->*THalM3Fn)(p, c.Header, bytesWritten); + return (GetWifiHalFromHandle(c.DevCtx->WdfDevice)->*THalM3Fn)(p, c.Header, bytesWritten); } return STATUS_SUCCESS; @@ -116,7 +116,7 @@ struct GenericTransitionTraits { if (TPreM4Fn) { - NTSTATUS preStatus = (c.DevCtx->wifiHAL->*TPreM4Fn)(); + NTSTATUS preStatus = (GetWifiHalFromHandle(c.DevCtx->WdfDevice)->*TPreM4Fn)(); if (!NT_SUCCESS(preStatus)) { return preStatus; @@ -125,7 +125,7 @@ struct GenericTransitionTraits if (THalM4Fn) { - return (c.DevCtx->wifiHAL->*THalM4Fn)(c.Header); + return (GetWifiHalFromHandle(c.DevCtx->WdfDevice)->*THalM4Fn)(c.Header); } return (TPreM4Fn == nullptr && THalM4Fn == nullptr) ? STATUS_PENDING : STATUS_SUCCESS; |
