Open MattCatz opened 2 years ago
When connecting to wireless networks, wlanconnect can fail if called from a Windows service. This appears to be a bug when using network profiles with the WLAN_PROFILE_USER flag.
wlanconnect
WLAN_PROFILE_USER
This change removes that flag to mitigate the issue.
fixes #71
see also: https://docs.microsoft.com/en-us/answers/questions/397654/34netsh-wlan-connect34-wlanapiwlanconnect-from-wit.html
When connecting to wireless networks,
wlanconnect
can fail if called from a Windows service. This appears to be a bug when using network profiles with theWLAN_PROFILE_USER
flag.This change removes that flag to mitigate the issue.
fixes #71
see also: https://docs.microsoft.com/en-us/answers/questions/397654/34netsh-wlan-connect34-wlanapiwlanconnect-from-wit.html