Removed check for logging wifi config success on first try.

This commit is contained in:
Ed Jordan
2018-11-11 08:24:28 -08:00
committed by Patrick Fairbank
parent 67b27ee700
commit c47c8b50de

View File

@@ -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
}
}