|
RE: [PATCH] tcsendbreak and flow control onhciattach(csrchip): msg#00035linux.bluez.devel
> -----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> |
|---|---|---|
| Previous by Date: | RE: [PATCH] tcsendbreak and flow control on hciattach(csrchip): 00035, Marcel Holtmann |
|---|---|
| Next by Date: | RE: [PATCH] tcsendbreak and flow control onhciattach(csrchip): 00035, Marcel Holtmann |
| Previous by Thread: | RE: [PATCH] tcsendbreak and flow control on hciattach(csrchip)i: 00035, Rognlien Dag Kristian |
| Next by Thread: | RE: [PATCH] tcsendbreak and flow control onhciattach(csrchip): 00035, Marcel Holtmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |