apps/blecent: Fix incorrect return value handling in

blecent_should_connect.
This commit is contained in:
Rahul Tank
2023-06-06 12:14:30 +02:00
committed by Szymon Janc
parent 7f17076cc2
commit 4c0096fa80
+1 -1
View File
@@ -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