public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] hciattach set_speed question
@ 2008-02-26 11:06 Choi Sonim
  0 siblings, 0 replies; only message in thread
From: Choi Sonim @ 2008-02-26 11:06 UTC (permalink / raw)
  To: BlueZ development

Hi,

I see that when hciattach.c set a new baud speed on the serial
port, it executes:

        cfsetospeed(ti, uart_speed(speed));
        return tcsetattr(fd, TCSANOW, ti);

my question is why doesn't it have to execute cfsetispeed as well ?
why only cfsetospeed ?

Thanks a lot
choi

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-26 11:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-26 11:06 [Bluez-devel] hciattach set_speed question Choi Sonim

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