diff --git a/subsys/bluetooth/host/gatt.c b/subsys/bluetooth/host/gatt.c index 9b0e2049f15..432f2e219cf 100644 --- a/subsys/bluetooth/host/gatt.c +++ b/subsys/bluetooth/host/gatt.c @@ -713,6 +713,7 @@ static void remove_cf_cfg(struct bt_conn *conn) } else { /* Update address in case it has changed */ bt_addr_le_copy(&cfg->peer, &conn->le.dst); + atomic_clear_bit(cfg->flags, CF_OUT_OF_SYNC); } } #endif /* CONFIG_BT_GATT_CACHING */