summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hidp
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-07-29 11:58:06 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-13 17:32:50 -0700
commit59f4ff2ecff4cef36378928cec891785b402e80c (patch)
treeb49428f1fd19f26c75ed3e2d6994ba72d3a3d190 /net/bluetooth/hidp
parent1a21175a615ed346e8043f5e9d60a672266b84b4 (diff)
downloadblackbird-op-linux-59f4ff2ecff4cef36378928cec891785b402e80c.tar.gz
blackbird-op-linux-59f4ff2ecff4cef36378928cec891785b402e80c.zip
usb-storage: automatically recognize bad residues
This patch (as1119) will help to reduce the clutter of usb-storage's unusual_devs file by automatically detecting some devices that need the IGNORE_RESIDUE flag. The idea is that devices should never return a non-zero residue for an INQUIRY or a READ CAPACITY command unless they failed to transfer all the requested data. So if one of these commands transfers a standard amount of data but there is a positive residue, we know that the residue is bogus and we can set the flag. This fixes the problems reported in Bugzilla #11125. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/bluetooth/hidp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud