From c47c8b50de6b47bd07be9db70f179ee3342a2d7d Mon Sep 17 00:00:00 2001 From: Ed Jordan Date: Sun, 11 Nov 2018 08:24:28 -0800 Subject: [PATCH] Removed check for logging wifi config success on first try. --- network/access_point.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/network/access_point.go b/network/access_point.go index a3bb74c..9204d35 100644 --- a/network/access_point.go +++ b/network/access_point.go @@ -137,9 +137,7 @@ func (ap *AccessPoint) handleTeamWifiConfiguration(teams [6]*model.Team) { if err == nil { err = ap.updateTeamWifiStatuses() if err == nil && ap.configIsCorrectForTeams(teams) { - if attemptCount > 1 { - log.Printf("Successfully configured WiFi after %d attempts.", attemptCount) - } + log.Printf("Successfully configured WiFi after %d attempts.", attemptCount) return } }