Fix: Sometimes it is possible to cancel first cmd
authorDenis Kenzior <denkenz@gmail.com>
Wed, 2 Dec 2009 21:27:26 +0000 (15:27 -0600)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Dec 2009 01:16:21 +0000 (02:16 +0100)
commit962a4cd52d14eed73aa4897de16c928e3a5e1493
tree66833427aadd86bed08e966cff43dcc2dc6bccf6
parentbe04d3a32cb5c8d9e2d5bb4b640b720d784600dc
Fix: Sometimes it is possible to cancel first cmd

Commands on the head of the queue can be canceled if none of its bytes
have actually been written to the modem.  This is tracked by
cmd_bytes_written variable.
gatchat/gatchat.c