Lib: Removing use of usb_set_altinterface() in favour of probing without calling...
commitc869133cae5f3b27b32162bb65b3965f5c05a03d
authorToby Gray <toby.gray@realvnc.com>
Fri, 1 Oct 2010 11:54:00 +0000 (1 12:54 +0100)
committerToby Gray <toby.gray@realvnc.com>
Fri, 1 Oct 2010 11:54:00 +0000 (1 12:54 +0100)
tree9ddeb762cab9daf8d918b5a9fac7be6ab147de3f
parent58afa85ab5364966daac927ca450748553161f78
Lib: Removing use of usb_set_altinterface() in favour of probing without calling usb_clear_halt() and then retrying after calling usb_clear_halt().
This should remove the ability of Barry to disrupt the usb-storage interface on the device, causing data loss and loss of Barry connections.
src/controller.cc
src/m_ipmodem.cc
src/probe.cc
src/probe.h
src/usbwrap.cc