Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Connecting to wifi is very slow, there are several issues. Easiest to find and fis is that on my wifi DHCP always took 4s, as first request fails. Still investigating why.. Reducing timeout to 0.25s makes DHCP process fast. Moved timout handling into its own struct, and changed state timeout from max(remaing, 60s) to min(remaining, MAX_TIMEOUT) Not sure about that change, but why would you want a max value that is at least 60s?
- Loading branch information
Showing
2 changed files
with
68 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters