From aa00e11975b07153b9aee70bac4cf848d4669560 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Thu, 22 Apr 2010 10:46:03 -0300 Subject: [PATCH] obexd: no need to reset the session after a CONNECT When the CONNECT request is accepted (REQDONE event), we don't have to do anything, as a new session was just allocated. --- obexd/src/obex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obexd/src/obex.c b/obexd/src/obex.c index 87d153ff9..32d9d22a0 100644 --- a/obexd/src/obex.c +++ b/obexd/src/obex.c @@ -842,6 +842,8 @@ static void obex_event(obex_t *obex, obex_object_t *obj, gint mode, break; case OBEX_EV_REQDONE: switch (cmd) { + case OBEX_CMD_CONNECT: + break; case OBEX_CMD_DISCONNECT: OBEX_TransportDisconnect(obex); break; -- 2.47.3