From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> --- plugins/opp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugins/opp.c b/plugins/opp.c index d9b68b2..fa3ee91 100644 --- a/plugins/opp.c +++ b/plugins/opp.c @@ -120,7 +120,7 @@ static int opp_chkput(struct obex_session *os, void *user_data) int err; if (obex_get_size(os) == OBJECT_SIZE_DELETE) - return -EINVAL; + return -ENOSYS; t = obex_get_name(os); if (t != NULL && !is_filename(t)) -- 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