]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: don't update devnum for wusb devices
authorDavid Vrabel <david.vrabel@csr.com>
Tue, 8 Apr 2008 20:24:46 +0000 (13:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:59 +0000 (21:16 -0700)
For WUSB devices, usb_dev.devnum is a device index and not the real
device address (which is managed by wusbcore).  Therefore, only set
devnum once (in choose_address()) and never change it.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Cc: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found