On Fri May 29, 2026 at 6:06 AM CEST, Mengshi Wu via lists.openembedded.org wrote: >> --- /dev/null >> +++ >> b/meta/recipes-connectivity/bluez5/bluez5/0001-src-device-Fix-stored-gatt-cache-DB-Hash-value-no.patch >> @@ -0,0 +1,84 @@ ... >> + └─> gatt_service_removed() >> + └─> store_gatt_db() ← SAVED TO DISK (hash is NEW) >> + >> +There is a timing issue to update DB Hash value. >> + >> +The gatt_client_service_changed() callback in src/device.c is called >> +from service_changed_complete() in gatt-client.c, which is invoked >> +after db_hash_read_cb() has already updated the hash. Adding >> +store_gatt_db(device) here guarantees the db is persisted with the >> +correct, up-to-date hash for both the addition and removal cases. >> + >> +Signed-off-by: Mengshi Wu <[email protected]> >> +---
I also note you are missing the Upstream-Status line in this patch. Thanks, Mathieu -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#237775): https://lists.openembedded.org/g/openembedded-core/message/237775 Mute This Topic: https://lists.openembedded.org/mt/119542721/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
