esp32s2: Set station mode early to avoid SoftAP on startup #3698
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The behaviour that an Access Point is seen early during bring-up is also mentioned in #3321 by @anecdata
@tannewt would be happy if you could review.
The below was the output before this (with DEBUG=1)
I (3996) wifi_init: WiFi RX IRAM OP enabled
I (4116) phy: phy_version: 603, 72dfd77, Jul 7 2020, 19:57:05, 0, 2
I (4116) wifi:enable tsf
I (4116) wifi:mode : softAP (7c:df:a1:03:b7:a5)
I (4116) wifi:Total power save buffer number: 8
I (4126) wifi:Init max length of beacon: 752/752
I (4126) wifi:Init max length of beacon: 752/752
I (5266) wifi:mode : sta (7c:df:a1:03:b7:a4)