-
Notifications
You must be signed in to change notification settings - Fork 3k
Nanostack::EthernetInterface::bringdown() can handle blocking mode #10243
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
Nanostack::EthernetInterface::bringdown() can handle blocking mode #10243
Conversation
This let the tests-network-interface test pass for nanostack.
@michalpasztamobica, thank you for your changes. |
return NSAPI_ERROR_DEVICE_ERROR; | ||
} | ||
|
||
if (_blocking) { | ||
int32_t count = disconnect_semaphore.wait(30000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
30s timeout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took it from the bringup procedure... Is there a specified timeout that you'd suggest?
Why this is marked as a functionality change? We are not changing the API, and we are making it to pass tests that existed before, and are documented. Therefore it is a fix, and can be published in patch release as well. |
Rechecked the code changes. I was wondering the same thing, but figured y'all knew something I didn't 😁 Updated to a patch release. |
CI started |
Test run: SUCCESSSummary: 13 of 13 test jobs passed |
Description
This let the tests-network-interface test suite pass for nanostack.
Pull request type
Reviewers
@SeppoTakalo