hciattach set_speed question

"Choi Sonim" <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.