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

apps/blecent: Fix incorrect return value handling in blecent_should_connect. #1517

Merged

Conversation

rahult-github
Copy link
Contributor

apps/blecent: Fix incorrect return value handling in blecent_should_connect.

ble_hs_adv_parse_fields can return a non zero code as error. However, a non-zero value is being treated as success in the application. So even if parsing of fields fails, the code would still assume it to be successful and proceed.

@sjanc sjanc merged commit 4c0096f into apache:master Jun 6, 2023
8 checks passed
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.

None yet

2 participants