public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Fix for disconnection in new serial service
@ 2007-05-16 16:52 Frederic Danis
  2007-05-20 13:11 ` Marcel Holtmann
  0 siblings, 1 reply; 12+ messages in thread
From: Frederic Danis @ 2007-05-16 16:52 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

Hello,

I find a little bug preventing disconnection in new serial service.

Fred

-- 
-----------------------------------------------
It is not by improving the oil lamp that one invents the electric bulb!
-----------------------------------------------
Danis Frederic                   Access Company
Software engineer
Mail : mailto:frederic.danis@access-company.com
-----------------------------------------------


[-- Attachment #2: disconnection_serial.patch --]
[-- Type: text/x-patch, Size: 539 bytes --]

Index: serial/manager.c
===================================================================
RCS file: /cvsroot/bluez/utils/serial/manager.c,v
retrieving revision 1.36
diff -a -u -r1.36 manager.c
--- serial/manager.c	15 May 2007 17:07:22 -0000	1.36
+++ serial/manager.c	16 May 2007 16:46:38 -0000
@@ -254,6 +254,7 @@
 
 	node->io_id = g_io_add_watch(io, G_IO_ERR | G_IO_NVAL | G_IO_HUP,
 					(GIOFunc) rfcomm_disconnect_cb, node);
+	g_io_channel_set_close_on_unref(io, TRUE);
 
 	connected_nodes = g_slist_append(connected_nodes, node);
 

[-- Attachment #3: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #4: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-05-23 20:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-16 16:52 [Bluez-devel] Fix for disconnection in new serial service Frederic Danis
2007-05-20 13:11 ` Marcel Holtmann
2007-05-21 15:12   ` Claudio Takahasi
2007-05-22 16:59     ` Frederic Danis
2007-05-22 17:24       ` Marcel Holtmann
2007-05-22 19:06         ` Frédéric Danis
2007-05-22 21:08           ` Marcel Holtmann
2007-05-22 22:11             ` Frederic Danis
2007-05-22 22:21               ` Marcel Holtmann
2007-05-23 18:10                 ` Frederic Danis
2007-05-23 18:15         ` Frederic Danis
2007-05-23 20:32           ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox