From 77bc7311c6c33e447f219e957338d6ab660b2cec Mon Sep 17 00:00:00 2001 From: hai007 Date: Thu, 21 Sep 2023 15:35:21 -0700 Subject: [PATCH] Fix bug to work with PIE SDK version PHWFW07641_22.230.0.8PDK-20230707T202651Z-001 PiperOrigin-RevId: 567438343 --- internal/platform/implementation/windows/wifi_intel.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/platform/implementation/windows/wifi_intel.cc b/internal/platform/implementation/windows/wifi_intel.cc index 800b37bc..844852da 100644 --- a/internal/platform/implementation/windows/wifi_intel.cc +++ b/internal/platform/implementation/windows/wifi_intel.cc @@ -185,6 +185,8 @@ uint8_t WifiIntel::GetGOChannel() { NEARBY_LOGS(VERBOSE) << "Load WifiPanQueryPreferredChannelSetting API completed successfully"; + intelWifiHeader.dwSize = + sizeof(MurocDefs::INTEL_GO_OPERATION_CHANNEL_SETTING); murocApiRetVal = WifiPanQueryPreferredChannelSettingFunc( wifi_adapter_handle_, &intelWifiHeader, (void*)&intelGOChan);