mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-09 03:27:57 +00:00
apps/blecent: Fix incorrect return value handling in
blecent_should_connect.
This commit is contained in:
@@ -272,7 +272,7 @@ blecent_should_connect(const struct ble_gap_disc_desc *disc)
|
||||
|
||||
rc = ble_hs_adv_parse_fields(&fields, disc->data, disc->length_data);
|
||||
if (rc != 0) {
|
||||
return rc;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* The device has to advertise support for the Alert Notification
|
||||
|
||||
Reference in New Issue
Block a user