USB: fix to usbfs_snoop logging of user defined control urbs
authorChris Frey <cdfrey@foursquare.net>
Sat, 16 Dec 2006 07:37:42 +0000 (02:37 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Dec 2006 18:14:28 +0000 (10:14 -0800)
commitdf251b8bfcc5879b947223746779f90018424a6d
treececcc0b2fb72a2fe635640f8dd3374038ce55b38
parentbfb7fb79e913f60330037d1f302efee28d5f6770
USB: fix to usbfs_snoop logging of user defined control urbs

When sending CONTROL URB's using the usual CONTROL ioctl, logging works
fine, but when sending them via SUBMITURB, like VMWare does, the
control fields are not logged.  This patch fixes that.

I didn't see any major changes to devio.c recently, so this patch should apply
cleanly to even the latest kernel.  I can resubmit if it doesn't.

From: Chris Frey <cdfrey@foursquare.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/devio.c