2008-02-26 11:06:55

by Choi Sonim

[permalink] [raw]
Subject: [Bluez-devel] hciattach set_speed question

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel