Try update Network driver card.
Report this issue using the Feedback Hub app.
After the dual WLAN function is turned on, the secondary WLAN cannot connect to WiFi
After enabling the dual WLAN function , I used the GUID of the secondary WLAN to connect to the WiFi, but it kept failing and reported 1186 error
dwResult = WlanSetInterface(
m_wlanHandle,
&m_primaryInterfaceGuid,
wlan_intf_opcode_secondary_sta_synchronized_connections,
sizeof(BOOL),
static_cast<PVOID>(&enable),
nullptr);
dwResult = WlanQueryInterface(
m_wlanHandle,
&m_primaryInterfaceGuid,
wlan_intf_opcode_secondary_sta_interfaces,
nullptr,
&dwDataSize,
(PVOID*)&pIfList,
nullptr);
wlanConnPara.wlanConnectionMode = wlan_connection_mode_profile;
wlanConnPara.strProfile = wifiSSID.c_str();
wlanConnPara.pDot11Ssid = NULL;
wlanConnPara.dot11BssType = dot11_BSS_type_any;
wlanConnPara.pDesiredBssidList = NULL;
wlanConnPara.dwFlags = 0;
dwResult = WlanConnect(m_wlanHandle, interfaceGuid, &wlanConnPara, NULL);
1 answer
Sort by: Most helpful
-
Reza-Ameri 17,026 Reputation points
2021-09-03T14:17:09.497+00:00