USB: usbtmc: Fix short reads in usbtmc_read()
authorSteve Holland <sdh4@iastate.edu>
Thu, 18 Jun 2009 22:37:49 +0000 (17:37 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:35 +0000 (06:46 -0700)
commitc2cd26e15b84b964c489f2aff278cdaf03840c93
tree64a51e7f5da2e03d316d2ad1b607b35f2b36ccc4
parent492896f011a411d17d02e696adbc4a9b4ff68e7f
USB: usbtmc: Fix short reads in usbtmc_read()

The header size should not be included in the number of bytes requested of the
instrument

Signed-off-by: Steve Holland <sdh4@iastate.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/usbtmc.c