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

drivers/at86rf215: return ENETDOWN when interface is down #21031

Merged
merged 4 commits into from
Nov 23, 2024

Conversation

benpicco
Copy link
Contributor

Contribution description

We would return EBUSY when the interface was in sleep, this caused the gnrc_netif to retry sending forever. Return ENETDOWN instead.

I added three additional minor fixes to this to not bother CI with those trivial changes:

  • better error messages in gnrc_netif to tell apart the case where a pkt can't be queued and is dropped and where we try sending it instead
  • wrong rx buffer size in the nanocoap_cli test
  • overwriting tx_frame_len that has already been set in at86rf215_tx_load()

Testing procedure

Issues/PRs references

@github-actions github-actions bot added Area: network Area: Networking Area: tests Area: tests and testing framework Area: drivers Area: Device drivers Area: sys Area: System labels Nov 22, 2024
@benpicco benpicco added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label Nov 22, 2024
@benpicco benpicco requested a review from maribu November 22, 2024 18:50
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Nov 22, 2024
@riot-ci
Copy link

riot-ci commented Nov 22, 2024

Murdock results

✔️ PASSED

9d22e46 test/net/nanocoap_cli: fix buffer size for get_non

Success Failures Total Runtime
10249 0 10249 14m:19s

Artifacts

@maribu maribu added this pull request to the merge queue Nov 23, 2024
Merged via the queue into RIOT-OS:master with commit c700aa9 Nov 23, 2024
33 checks passed
@benpicco benpicco deleted the net_fixes-misc branch November 23, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: drivers Area: Device drivers Area: network Area: Networking Area: sys Area: System Area: tests Area: tests and testing framework 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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants