From c8bebbfa82dcae73c3c9b0e5588dc7b123e0d581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Fri, 13 Mar 2020 07:56:28 +0100 Subject: [PATCH] SEBWIN-366: Fixed bug where wireless network was displayed as disconnected even though it actually was connected. --- .../WirelessNetwork/WirelessAdapter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SafeExamBrowser.SystemComponents/WirelessNetwork/WirelessAdapter.cs b/SafeExamBrowser.SystemComponents/WirelessNetwork/WirelessAdapter.cs index f253872c..723ebc9d 100644 --- a/SafeExamBrowser.SystemComponents/WirelessNetwork/WirelessAdapter.cs +++ b/SafeExamBrowser.SystemComponents/WirelessNetwork/WirelessAdapter.cs @@ -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)); }