-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Description
I ran into the issue discussed here:
https://docs.microsoft.com/en-us/answers/questions/397654/34netsh-wlan-connect34-wlanapiwlanconnect-from-wit.html
I am remoting into my Windows 10 machine using the built-in openssh server and running scripts that use pywifi. I purpose that we remove the WLAN_PROFILE_USER (0x2) from the call to WlanSetProfile
pywifi/pywifi/_wifiutil_win.py
Lines 564 to 570 in 719baf7
| def _wlan_set_profile(self, handle, iface_guid, xml, overwrite, reason_code): | |
| func = native_wifi.WlanSetProfile | |
| func.argtypes = [HANDLE, POINTER( | |
| GUID), DWORD, c_wchar_p, c_wchar_p, c_bool, c_void_p, POINTER(DWORD)] | |
| func.restypes = [DWORD] | |
| return func(handle, iface_guid, 2, xml, None, overwrite, None, reason_code) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels