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

Nanostack::EthernetInterface::bringdown() can handle blocking mode #10243

Merged

Conversation

michalpasztamobica
Copy link
Contributor

@michalpasztamobica michalpasztamobica commented Mar 27, 2019

Description

This let the tests-network-interface test suite pass for nanostack.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@SeppoTakalo

This let the tests-network-interface test pass for nanostack.
@ciarmcom ciarmcom requested review from SeppoTakalo and a team March 27, 2019 16:00
@ciarmcom
Copy link
Member

@michalpasztamobica, thank you for your changes.
@SeppoTakalo @ARMmbed/mbed-os-ipcore @ARMmbed/mbed-os-maintainers please review.

return NSAPI_ERROR_DEVICE_ERROR;
}

if (_blocking) {
int32_t count = disconnect_semaphore.wait(30000);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

30s timeout?

Copy link
Contributor Author

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?

@SeppoTakalo
Copy link
Contributor

Why this is marked as a functionality change?
I would mark it as a fix.

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.

@cmonr
Copy link
Contributor

cmonr commented Mar 28, 2019

Rechecked the code changes.

I was wondering the same thing, but figured y'all knew something I didn't 😁

Updated to a patch release.

@cmonr
Copy link
Contributor

cmonr commented Mar 28, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Mar 29, 2019

Test run: SUCCESS

Summary: 13 of 13 test jobs passed
Build number : 1
Build artifacts

@cmonr cmonr merged commit 9c381f2 into ARMmbed:master Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants