Skip to content

[nsapi] Fix issue with reconnecting the ethernet interface #2343

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

Merged
merged 1 commit into from
Aug 2, 2016

Conversation

geky
Copy link
Contributor

@geky geky commented Aug 2, 2016

Previously the EthernetInterface class was unable to be connected after being brought down. The core issue is that lwip was not designed to be completely brought down due once initialized.

To work around this, the ethernet interface only initializes once and leaves itself up after a disconnect call. The DHCP lease is still released/acquired on disconnect/connect.

This should fix #2334

Previously the EthernetInterface class was unable to be connected
after being brought down. The core issue is that lwip was not designed
to be completely brought down due once initialized.

To work around this, the ethernet interface only initializes once and
leaves itself up after a disconnect call. The DHCP lease is still
released/acquired on disconnect/connect.
@sg- sg- merged commit 98c9364 into ARMmbed:master Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to work with reconnected Ethernet interface
2 participants