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

[linux] Fix possible infinite loop #9883

Merged
merged 1 commit into from
Sep 22, 2021

Conversation

Damian-Nordic
Copy link
Contributor

Problem

Linux tools consume 100% CPU on my PC when doing nothing. The code for getting Wi-Fi IP address may enter an infinite
loop when the expected wlan interface does not exist.

Change overview

Make the loop finite :).

Testing

Tested manually that now the CPU usage is negligible.

The code for getting Wi-Fi IP address may enter an infinite
loop when the expected wlan interface does not exist.
@woody-apple woody-apple merged commit 0ade2d5 into project-chip:master Sep 22, 2021
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.

5 participants