From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxxxx> The Session interface wasn't registered when a new transfer arrives. --- obexd/plugins/opp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/obexd/plugins/opp.c b/obexd/plugins/opp.c index 97bf943..ee0204c 100644 --- a/obexd/plugins/opp.c +++ b/obexd/plugins/opp.c @@ -46,6 +46,8 @@ static void *opp_connect(struct obex_session *os, int *err) { + manager_register_session(os); + if (err) *err = 0; @@ -154,6 +156,7 @@ static int opp_get(struct obex_session *os, void *user_data) static void opp_disconnect(struct obex_session *os, void *user_data) { manager_unregister_transfer(user_data); + manager_unregister_session(os); } static void opp_reset(struct obex_session *os, void *user_data) -- 1.8.1.4 -- 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