osmocon.c: Fix serial_set_baudrate function
authorDaniel Willmann <daniel@totalueberwachung.de>
Sun, 16 May 2010 23:37:02 +0000 (01:37 +0200)
committerHarald Welte <laforge@gnumonks.org>
Mon, 17 May 2010 07:24:01 +0000 (09:24 +0200)
commit9030db46cc3f89efd613ab064930db548ed8874f
tree7994dfc4a606a696b0c763faeefd684bf2f78169
parentdbfa321c42c182a6964f25364c954f6f775b51e7
osmocon.c: Fix serial_set_baudrate function

We have to call tcgetattr prior to changing the baudrate and writing the
struct again.
src/host/osmocon/osmocon.c