SEBWIN-366: Fixed bug where wireless network was displayed as disconnected even though it actually was connected.

This commit is contained in:
Damian Büchel 2020-03-13 07:56:28 +01:00
parent 4b9ec6e2d3
commit c8bebbfa82

View file

@ -168,8 +168,8 @@ namespace SafeExamBrowser.SystemComponents.WirelessNetwork
foreach (var accessPoint in wifi.GetAccessPoints())
{
// The user may only connect to an already configured wireless network!
if (accessPoint.HasProfile)
// The user may only connect to an already configured or connected wireless network!
if (accessPoint.HasProfile || accessPoint.IsConnected)
{
networks.Add(ToNetwork(accessPoint));
}