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_common: esp-wifi: drop assert(val) #19854
Conversation
borse merge |
Why is merging blocked? |
😉 bors merge |
🙈 |
Auto correction on mobile |
Build failed (retrying...): |
Build failed: |
bors merge |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Contribution description
The
assert()
in_esp_wifi_get
is excessive and wrong forNETOPT_IS_WIRED
whereval == NULL
is valid.Testing procedure
Running applications that query the
NETOPT_IS_WIRED
option (e.g.gnrc_ipv6_static_addr
) should now work without triggering the assertion.Issues/PRs references
https://forum.riot-os.org/t/border-router-ota-using-wifi/3895/24