Flush pending input when switching to remote packet mode
authorKeith Packard <keithp@keithp.com>
Thu, 5 Nov 2009 05:59:12 +0000 (21:59 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 5 Nov 2009 05:59:12 +0000 (21:59 -0800)
commit843ee489aac34ad6d81f55f1c85fb9eecc42d86b
tree233b213b53dbb0b78f9bee4ad39347d10df4eadd
parent036400a2db303f3db3be7cc0426f88359c6bd2b1
Flush pending input when switching to remote packet mode

Any pending input would just confuse the application, so pull it off
the link and dump it.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/lib/cc-usb.c