Don't pass ctrl_msg/bulk_msg structures through async paths
authorDaniel Drake <dsd@gentoo.org>
Wed, 12 Dec 2007 23:32:54 +0000 (23:32 +0000)
committerDaniel Drake <dsd@gentoo.org>
Wed, 12 Dec 2007 23:32:54 +0000 (23:32 +0000)
commitdfac6756faad76071a92945e3e3a16b8a841a7ea
tree5211c64096f0cdb3fa584f64f93d3731ebba8f26
parenta8d2881eb7c273892acf2ff6e1f3f552631d1d11
Don't pass ctrl_msg/bulk_msg structures through async paths

These are easiest to construct on the stack, but in the async case it is
likely that the submitting function returns (hence stack is destroyed)
before URB completion.
examples/dpfp.c
libfpusb/fpusb.h
libfpusb/fpusbi.h
libfpusb/io.c