All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [Bluez-devel] [PATCH] tcsendbreak and flow control onhciattach(csrchip)
@ 2004-10-11 13:11 Rognlien Dag Kristian
  2004-10-11 14:00 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Rognlien Dag Kristian @ 2004-10-11 13:11 UTC (permalink / raw)
  To: BlueZ Mailing List




> -----Original Message-----
> From: Marcel Holtmann [mailto:marcel@holtmann.org]=20
> Sent: 11. oktober 2004 14:30
> Subject: RE: [Bluez-devel] [PATCH] tcsendbreak and flow=20
> control onhciattach(csrchip)
>=20
>=20
> please use "diff -u".

Ok, makes sense.

Here is a more readable patch:

--- bluez-utils-2.9/tools/hciattach.c	2004-07-25 19:09:23.000000000
+0200
+++ bluez-utils-2.9-ij/tools/hciattach.c	2004-10-11
13:45:26.670694392 +0200
@@ -899,8 +899,10 @@
=20
 	tcflush(fd, TCIOFLUSH);
=20
-	if (send_break)
+	if (send_break){
 		tcsendbreak(fd, 0);
+		usleep(500000);
+	}
=20
 	if (u->init && u->init(fd, u, &ti) < 0)
 		return -1;


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* RE: [Bluez-devel] [PATCH] tcsendbreak and flow control onhciattach(csrchip)
  2004-10-11 13:11 [Bluez-devel] [PATCH] tcsendbreak and flow control onhciattach(csrchip) Rognlien Dag Kristian
@ 2004-10-11 14:00 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-10-11 14:00 UTC (permalink / raw)
  To: Rognlien Dag Kristian; +Cc: BlueZ Mailing List

Hi Dag,

> > please use "diff -u".
> 
> Ok, makes sense.
> 
> Here is a more readable patch:
> 
> --- bluez-utils-2.9/tools/hciattach.c	2004-07-25 19:09:23.000000000
> +0200
> +++ bluez-utils-2.9-ij/tools/hciattach.c	2004-10-11
> 13:45:26.670694392 +0200
> @@ -899,8 +899,10 @@
>  
>  	tcflush(fd, TCIOFLUSH);
>  
> -	if (send_break)
> +	if (send_break){
>  		tcsendbreak(fd, 0);
> +		usleep(500000);
> +	}
>  
>  	if (u->init && u->init(fd, u, &ti) < 0)
>  		return -1;

applied. Thanks.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2004-10-11 14:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-11 13:11 [Bluez-devel] [PATCH] tcsendbreak and flow control onhciattach(csrchip) Rognlien Dag Kristian
2004-10-11 14:00 ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.