From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx> Relying on a internal policy (based on transfer type) to decide if a transfer should be exposed or not in D-Bus has some limitations. The simplest possible alternative to this is to expose all transfers in D-Bus, assuming the overhead is not significant. --- client/transfer.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/client/transfer.c b/client/transfer.c index a14624d..c073612 100644 --- a/client/transfer.c +++ b/client/transfer.c @@ -263,12 +263,6 @@ gboolean obc_transfer_register(struct obc_transfer *transfer, const char *owner, GError **err) { - /* for OBEX specific mime types we don't need to register a transfer */ - if (transfer->type != NULL && - (strncmp(transfer->type, "x-obex/", 7) == 0 || - strncmp(transfer->type, "x-bt/", 5) == 0)) - goto done; - transfer->owner = g_strdup(owner); transfer->path = g_strdup_printf("%s/transfer%ju", @@ -290,7 +284,6 @@ gboolean obc_transfer_register(struct obc_transfer *transfer, return FALSE; } -done: DBG("%p registered %s", transfer, transfer->path); return TRUE; -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html