logo       

RE: [PATCH] tcsendbreak and flow control onhciattach(csrchip): msg#00035

linux.bluez.devel

Subject: RE: [PATCH] tcsendbreak and flow control onhciattach(csrchip)




> -----Original Message-----
> From: Marcel Holtmann [mailto:marcel@xxxxxxxxxxxx]
> Sent: 11. oktober 2004 14:30
> Subject: RE: [Bluez-devel] [PATCH] tcsendbreak and flow
> control onhciattach(csrchip)
>
>
> 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;


-------------------------------------------------------
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise