Minor bug if SSID was null. We were comparing with "" to see if it was empty, but null != "". So we also compare with null now.

This commit is contained in:
Tim Young 2017-06-28 11:41:48 -05:00
parent 8d2e744ec2
commit 0676a56352

View File

@ -205,6 +205,10 @@ namespace EduNetworkBuilder
{
if (sNic.WirelessKey != dNic.WirelessKey)
deleteme = true;
if (sNic.SSID == "" || sNic.SSID == null) //if no SSID set
deleteme = true;
if (dNic.SSID == "" || dNic.SSID == null) //if no SSID set
deleteme = true;
if (sNic.SSID != dNic.SSID)
deleteme = true;
if (LinkDistance() > NB.WirelessMaxUnsuccessfulLink)