drivers/enc28j60: Allow sending with empty chunks#11214
Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom Mar 30, 2019
Merged
drivers/enc28j60: Allow sending with empty chunks#11214miri64 merged 1 commit intoRIOT-OS:masterfrom
miri64 merged 1 commit intoRIOT-OS:masterfrom
Conversation
This commit allows `netdev_driver_t::send()` of `enc28j60` to be passed an `iolist_t` containing one or more empty elements.
Member
Author
|
Maybe @gschorcht can have a look? |
Contributor
|
Code look's ok for me and it seems to be reasonable. I will test it later today. |
Contributor
|
@maribu Tested. It works as expected but it was also working with current master. At least it did not crash. The only difference I can observe with |
24 tasks
Member
|
I allowed myself to reword a sentence in OP to not auto-close #11163 ;-) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Contribution description
This commit allows
netdev_driver_t::send()ofenc28j60to be passed aniolist_tcontaining one or more empty elements.Testing procedure
Run
examples/gnrc_networkingand try ifudp send ff02::1 1337 ""works now. It shouldn't with master. Also check ifping6to make sure no regression is introduces.Issues/PRs references
Fix of #11163 for the
enc28j60.