Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu/esp: revert the change for default definition of ESP_WIFI_PASS #17420

Conversation

gschorcht
Copy link
Contributor

@gschorcht gschorcht commented Dec 19, 2021

Contribution description

This PR reverts a change made as part of PR #17415.

Previously, the default value for ESP_WIFI_PASS was intentionally defined only when DOXYGEN is also defined to allow ESP_WIFI_PASS to be left undefined for using APs without authentication. As part of PR #17415 the definition was changed to always define a default value for EPS_WIFI_PASS. This made it impossible to use APs without authentication. This PR reverts this change.

The change in PR #17415 that is undone by this PR was supposedly a correction and was made in preparation for the migration to Kconfig. There are no other changes in PR #17415 affected by this change.

Testing procedure

It is a very small fix back to the former definition (comment https://github.com/RIOT-OS/RIOT/pull/17415/files#r771905996). There are no functional or other changes affected by this change. Therefore, green CI should be sufficient.

Issues/PRs references

Fixes a bug introduced with PR #174153

Previously, a default value for ESP_WIFI_PASS was intentionally defined only if DOXYGEN was also defined, to allow ESP_WIFI_PASS to be left undefined for using APs without authentication. With PR RIOT-OS#17415 the definition was changed to always define a default value for EPS_WIFI_PASS.  This made it impossible to use APs without authentication. The commit reverts this change.
@github-actions github-actions bot added Area: cpu Area: CPU/MCU ports Platform: ESP Platform: This PR/issue effects ESP-based platforms labels Dec 19, 2021
@gschorcht gschorcht added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Dec 19, 2021
@benpicco benpicco merged commit 2bb2dc3 into RIOT-OS:master Dec 20, 2021
@gschorcht
Copy link
Contributor Author

Thanks for reviewing and merging.

@gschorcht gschorcht deleted the cpu/esp/revert_change_for_esp_wifi_passphrase branch December 20, 2021 16:13
@fjmolinas fjmolinas added this to the Release 2022.01 milestone Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ESP Platform: This PR/issue effects ESP-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants