Do not increment the attempt variable twice when requesting group info

This commit is contained in:
Sebastian Kürten
2021-07-05 12:46:45 +02:00
parent b15d42b0cd
commit 276eeb1c20

View File

@@ -239,7 +239,7 @@ class HotspotManager implements ActionListener {
if (valid || attempt >= MAX_GROUP_INFO_ATTEMPTS) {
onHotspotStarted(group);
} else {
retryRequestingGroupInfo(attempt + 1);
retryRequestingGroupInfo(attempt);
}
};
try {