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)
committerDenis Kenzior <denkenz@gmail.com>
Wed, 2 Dec 2009 21:27:26 +0000 (15:27 -0600)
commit9b5b1057e4403c8bc008f8f6d2d2cbcb04e5ed9a
tree7979e6c2eb4a0a8d58d49b86aa8401b67fe675a8
parent0d022d305748d05763e950a6fba9b8c1450b6143
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